DisplayManager.VirtualDisplayFlagPresentation Field

Definition

Caution

This constant will be removed in the future version. Use Android.Hardware.Display.VirtualDisplayFlags enum directly instead of this field.

Virtual display flag: Create a presentation display.

[Android.Runtime.Register("VIRTUAL_DISPLAY_FLAG_PRESENTATION")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Display.VirtualDisplayFlags enum directly instead of this field.", true)]
public const Android.Hardware.Display.VirtualDisplayFlags VirtualDisplayFlagPresentation = 2;
[<Android.Runtime.Register("VIRTUAL_DISPLAY_FLAG_PRESENTATION")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Display.VirtualDisplayFlags enum directly instead of this field.", true)>]
val mutable VirtualDisplayFlagPresentation : Android.Hardware.Display.VirtualDisplayFlags

Field Value

Value = 2
Attributes

Remarks

Virtual display flag: Create a presentation display.

<h3>Presentation virtual displays</h3>

When this flag is set, the virtual display is registered as a presentation display in the #DISPLAY_CATEGORY_PRESENTATION presentation display category. Applications may automatically project their content to presentation displays to provide richer second screen experiences.

<h3>Non-presentation virtual displays</h3>

When this flag is not set, the virtual display is not registered as a presentation display. Applications can still project their content on the display but they will typically not do so automatically. This option is appropriate for more special-purpose displays.

Java documentation for android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION.

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

See also