Android.Hardware.Display.DisplayManager.GetDisplays Method
Gets all currently valid logical displays of the specified category.

Syntax

[Android.Runtime.Register("getDisplays", "(Ljava/lang/String;)[Landroid/view/Display;", "")]
public Android.Views.Display[] GetDisplays (string category)

See Also

DisplayManager.DisplayCategoryPresentation

Parameters

category
The requested display category or null to return all displays.

Returns

Documentation for this section has not yet been entered.

Remarks

Gets all currently valid logical displays of the specified category.

When there are multiple displays in a category the returned displays are sorted of preference. For example, if the requested category is DisplayManager.DisplayCategoryPresentation and there are multiple presentation displays then the displays are sorted so that the first display in the returned array is the most preferred presentation display. The application may simply use the first display or allow the user to choose.

[Android Documentation]

Requirements

Namespace: Android.Hardware.Display
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 17