Android.Hardware.Display.DisplayManager.VirtualDisplayFlagSecure Field
Virtual display flag: Create a secure display.

Value: 4

Syntax

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

See Also

Android.Views.Display.FlagSecure
DisplayManager.CreateVirtualDisplay(string, System.Int32, System.Int32, System.Int32, System.Int32, System.Int32)

Remarks

Virtual display flag: Create a secure display.

Secure virtual displays

Non-secure virtual displays

When this flag is set, the virtual display is considered secure as defined by the Android.Views.Display.FlagSecure display flag. The caller promises to take reasonable measures, such as over-the-air encryption, to prevent the contents of the display from being intercepted or recorded on a persistent medium.

Creating a secure virtual display requires the NoType:android/Manifest$permission;Href=../../../../reference/android/Manifest.permission.html#CAPTURE_SECURE_VIDEO_OUTPUT permission. This permission is reserved for use by system components and is not available to third-party applications.

When this flag is not set, the virtual display is considered unsecure. The content of secure windows will be blanked if shown on this 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