DisplayManager.GetDisplay(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets information about a logical display.
[Android.Runtime.Register("getDisplay", "(I)Landroid/view/Display;", "")]
public Android.Views.Display? GetDisplay (int displayId);
[<Android.Runtime.Register("getDisplay", "(I)Landroid/view/Display;", "")>]
member this.GetDisplay : int -> Android.Views.Display
Parameters
- displayId
- Int32
The logical display id.
Returns
The display object, or null if there is no valid display with the given id.
- Attributes
Remarks
Gets information about a logical display.
The display metrics may be adjusted to provide compatibility for legacy applications.
Java documentation for android.hardware.display.DisplayManager.getDisplay(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.