getDisplays
Gets all currently valid logical displays.
Return
An array containing all displays.
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 DISPLAY_CATEGORY_PRESENTATION 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.
Return
An array containing all displays sorted by order of preference.
Parameters
category
The requested display category or null to return all displays.