DisplayManager.VirtualDisplayFlagOwnContentOnly 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: Only show this display's own content; do not mirror the content of another display.

[Android.Runtime.Register("VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY")]
[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 VirtualDisplayFlagOwnContentOnly = 8;
[<Android.Runtime.Register("VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY")>]
[<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 VirtualDisplayFlagOwnContentOnly : Android.Hardware.Display.VirtualDisplayFlags

Field Value

Value = 8
Attributes

Remarks

Virtual display flag: Only show this display's own content; do not mirror the content of another display.

This flag is used in conjunction with #VIRTUAL_DISPLAY_FLAG_PUBLIC. Ordinarily public virtual displays will automatically mirror the content of the default display if they have no windows of their own. When this flag is specified, the virtual display will only ever show its own content and will be blanked instead if it has no windows.

This flag is mutually exclusive with #VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR. If both flags are specified then the own-content only behavior will be applied.

This behavior of this flag is implied whenever neither #VIRTUAL_DISPLAY_FLAG_PUBLIC nor #VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR have been set. This flag is only required to override the default behavior when creating a public display.

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

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

  • <xref:Android.Hardware.Display.DisplayManager.CreateVirtualDisplay(System.String%2c+System.Int32%2c+System.Int32%2c+System.Int32%2c+System.Int32%2c+System.Int32)>