共用方式為


Display.DefaultDisplay Field

Definition

The default Display id, which is the id of the primary display assuming there is one.

[Android.Runtime.Register("DEFAULT_DISPLAY")]
public const int DefaultDisplay = 0;
[<Android.Runtime.Register("DEFAULT_DISPLAY")>]
val mutable DefaultDisplay : int

Field Value

Value = 0
Attributes

Remarks

The default Display id, which is the id of the primary display assuming there is one.

Java documentation for android.view.Display.DEFAULT_DISPLAY.

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