Android.Hardware.Display.DisplayManager.VirtualDisplayFlagOwnContentOnly Field
Virtual display flag: Only show this display's own content; do not mirror the content of another display.

Value: 8

Syntax

[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.")]
public const VirtualDisplayFlags VirtualDisplayFlagOwnContentOnly

See Also

DisplayManager.CreateVirtualDisplay(string, System.Int32, System.Int32, System.Int32, System.Int32, System.Int32)

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 DisplayManager.VirtualDisplayFlagPublic. 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 DisplayManager.VirtualDisplayFlagAutoMirror. If both flags are specified then the own-content only behavior will be applied.

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

[Android Documentation]

Requirements

Namespace: Android.Hardware.Display
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 17