Share via


MediaDrm.MaxSecurityLevel Property

Definition

Returns a value that may be passed as a parameter to #openSession(int) requesting that the session be opened at the maximum security level of the device.

public static int MaxSecurityLevel { [Android.Runtime.Register("getMaxSecurityLevel", "()I", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getMaxSecurityLevel", "()I", "", ApiSince=28)>]
static member MaxSecurityLevel : int

Property Value

Attributes

Remarks

Returns a value that may be passed as a parameter to #openSession(int) requesting that the session be opened at the maximum security level of the device.

This security level is only valid for the application running on the physical Android device (e.g. android.content.Context#DEVICE_ID_DEFAULT). While running on a android.companion.virtual.VirtualDevice the maximum supported security level might be different.

Java documentation for android.media.MediaDrm.getMaxSecurityLevel().

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