Condividi tramite


MediaDrm.GetSecurityLevel(Byte[]) Method

Definition

Return the current security level of a session.

[Android.Runtime.Register("getSecurityLevel", "([B)I", "", ApiSince=28)]
public Android.Media.SecurityLevel GetSecurityLevel (byte[] sessionId);
[<Android.Runtime.Register("getSecurityLevel", "([B)I", "", ApiSince=28)>]
member this.GetSecurityLevel : byte[] -> Android.Media.SecurityLevel

Parameters

sessionId
Byte[]

the session to query. <p>

Returns

the security level of the session

Attributes

Remarks

Return the current security level of a session. A session has an initial security level determined by the robustness of the DRM system's implementation on the device. The security level may be changed at the time a session is opened using #openSession.

Java documentation for android.media.MediaDrm.getSecurityLevel(byte[]).

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