Share via


Display.DisplayId Property

Definition

Gets the display id.

public virtual int DisplayId { [Android.Runtime.Register("getDisplayId", "()I", "GetGetDisplayIdHandler")] get; }
[<get: Android.Runtime.Register("getDisplayId", "()I", "GetGetDisplayIdHandler")>]
member this.DisplayId : int

Property Value

Attributes

Remarks

Gets the display id.

Each logical display has a unique id. The default display has id #DEFAULT_DISPLAY.

Java documentation for android.view.Display.getDisplayId().

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.

Applies to