Udostępnij za pośrednictwem


DisplayManager.VirtualDisplayFlagSecure 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 secure display.

[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.", true)]
public const Android.Hardware.Display.VirtualDisplayFlags VirtualDisplayFlagSecure = 4;
[<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.", true)>]
val mutable VirtualDisplayFlagSecure : Android.Hardware.Display.VirtualDisplayFlags

Field Value

Value = 4
Attributes

Remarks

Virtual display flag: Create a secure display.

<h3>Secure virtual displays</h3>

When this flag is set, the virtual display is considered secure as defined by the Display#FLAG_SECURE 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 CAPTURE_SECURE_VIDEO_OUTPUT permission. This permission is reserved for use by system components and is not available to third-party applications.

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

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.

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

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

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