Java android.hardware.display DisplayManager fields, constructors, methods, implement or subclass

Example usage for Java android.hardware.display DisplayManager fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.hardware.display DisplayManager.

The text is from its open source code.

Field

StringDISPLAY_CATEGORY_PRESENTATION
Display category: Presentation displays.
intVIRTUAL_DISPLAY_FLAG_PUBLIC
Virtual display flag: Create a public display.
intVIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY
Virtual display flag: Only show this display's own content; do not mirror the content of another display.
intVIRTUAL_DISPLAY_FLAG_AUTO_MIRROR
Virtual display flag: Allows content to be mirrored on private displays when no content is being shown.

Method

DisplaygetDisplay(int displayId)
Gets information about a logical display.
Display[]getDisplays()
Gets all currently valid logical displays.
voidregisterDisplayListener(DisplayListener listener, Handler handler)
Registers an display listener to receive notifications about when displays are added, removed or changed.
voidunregisterDisplayListener(DisplayListener listener)
Unregisters a display listener.