다음을 통해 공유


Display.FlagSupportsProtectedBuffers Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.DisplayFlags enum directly instead of this field.

Display flag: Indicates that the display supports compositing content that is stored in protected graphics buffers.

[Android.Runtime.Register("FLAG_SUPPORTS_PROTECTED_BUFFERS")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.DisplayFlags enum directly instead of this field.", true)]
public const Android.Views.DisplayFlags FlagSupportsProtectedBuffers = 1;
[<Android.Runtime.Register("FLAG_SUPPORTS_PROTECTED_BUFFERS")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.DisplayFlags enum directly instead of this field.", true)>]
val mutable FlagSupportsProtectedBuffers : Android.Views.DisplayFlags

Field Value

Value = 1
Attributes

Remarks

Display flag: Indicates that the display supports compositing content that is stored in protected graphics buffers.

If this flag is set then the display device supports compositing protected buffers.

If this flag is not set then the display device may not support compositing protected buffers; the user may see a blank region on the screen instead of the protected content.

Secure (DRM) video decoders may allocate protected graphics buffers to request that a hardware-protected path be provided between the video decoder and the external display sink. If a hardware-protected path is not available, then content stored in protected graphics buffers may not be composited.

An application can use the absence of this flag as a hint that it should not use protected buffers for this display because the content may not be visible. For example, if the flag is not set then the application may choose not to show content on this display, show an informative error message, select an alternate content stream or adopt a different strategy for decoding content that does not rely on protected buffers.

Java documentation for android.view.Display.FLAG_SUPPORTS_PROTECTED_BUFFERS.

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