getDisplay

open fun getDisplay(displayId: Int): Display(source)

Gets information about a logical display. The display metrics may be adjusted to provide compatibility for legacy applications.

Return

The display object, or null if there is no valid display with the given id.

Parameters

displayId

The logical display id.