Android.Hardware.Display.DisplayManager.VirtualDisplayFlagAutoMirror Field
Virtual display flag: Allows content to be mirrored on private displays when no content is being shown.

Value: 16

Syntax

[Android.Runtime.Register("VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR")]
[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 VirtualDisplayFlagAutoMirror

See Also

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

Remarks

Virtual display flag: Allows content to be mirrored on private displays when no content is being shown.

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

The behavior of this flag is implied whenever DisplayManager.VirtualDisplayFlagPublic is set and DisplayManager.VirtualDisplayFlagOwnContentOnly has not been set. This flag is only required to override the default behavior when creating a private display.

Creating an auto-mirroing virtual display requires the NoType:android/Manifest$permission;Href=../../../../reference/android/Manifest.permission.html#CAPTURE_VIDEO_OUTPUT or NoType:android/Manifest$permission;Href=../../../../reference/android/Manifest.permission.html#CAPTURE_SECURE_VIDEO_OUTPUT permission. These permissions are reserved for use by system components and are not available to third-party applications. Alternatively, an appropriate Android.Media.Projection.MediaProjection may be used to create an auto-mirroring virtual 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