The members of Android.Views.Display are listed below.
See Also: Inherited members from Java.Lang.Object
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | DefaultDisplay | int (0). The default Display id, which is the id of the built-in primary display assuming there is one. |
const | FlagPresentation | DisplayFlags (8). Display flag: Indicates that the display is a presentation display. |
const | FlagPrivate | DisplayFlags (4). Display flag: Indicates that the display is private. |
const | FlagSecure | DisplayFlags (2). Display flag: Indicates that the display has a secure video output and supports compositing secure surfaces. |
const | FlagSupportsProtectedBuffers | DisplayFlags (1). Display flag: Indicates that the display supports compositing content that is stored in protected graphics buffers. |
const | StateDozing | int (3). Documentation for this section has not yet been entered. |
[read-only] | AppVsyncOffsetNanos | long. Gets the app VSYNC offset, in nanoseconds. |
[read-only] | DisplayId | int. Gets the display id. |
[read-only] | Flags | DisplayFlags. Returns a combination of flags that describe the capabilities of the display. |
[read-only] | Height | int. |
[read-only] | IsValid | bool. Returns true if this display is still valid, false if the display has been removed. |
[read-only] | Name | string. Gets the name of the display. |
[read-only] | Orientation | int. |
[read-only] | PixelFormat | Android.Graphics.Format. Gets the pixel format of the display. |
[read-only] | PresentationDeadlineNanos | long. This is how far in advance a buffer must be queued for presentation at a given time. |
[read-only] | RefreshRate | float. Gets the refresh rate of this display in frames per second. |
[read-only] | Rotation | SurfaceOrientation. Returns the rotation of the screen from its "natural" orientation. |
[read-only] | State | DisplayState. Gets the state of the display, such as whether it is on or off. |
[read-only] | Width | int. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
GetCurrentSizeRange(Android.Graphics.Point, Android.Graphics.Point)Return the range of display sizes an application can expect to encounter under normal operation, as long as there is no physical change in screen size. | ||
GetMetrics(Android.Util.DisplayMetrics)Gets display metrics that describe the size and density of this display. | ||
GetRealMetrics(Android.Util.DisplayMetrics)Gets display metrics based on the real size of this display. | ||
GetRealSize(Android.Graphics.Point)Gets the real size of the display without subtracting any window decor or applying any compatibility scale factors. | ||
GetRectSize(Android.Graphics.Rect)Gets the size of the display as a rectangle, in pixels. | ||
GetSize(Android.Graphics.Point)Gets the size of the display, in pixels. | ||
GetSupportedRefreshRates()Get the supported refresh rates of this display in frames per second. |