Share via


MediaDrm.QueryKeyStatus(Byte[]) Method

Definition

Request an informative description of the key status for the session.

[Android.Runtime.Register("queryKeyStatus", "([B)Ljava/util/HashMap;", "")]
public System.Collections.Generic.IDictionary<string,string> QueryKeyStatus (byte[] sessionId);
[<Android.Runtime.Register("queryKeyStatus", "([B)Ljava/util/HashMap;", "")>]
member this.QueryKeyStatus : byte[] -> System.Collections.Generic.IDictionary<string, string>

Parameters

sessionId
Byte[]

the session ID for the DRM session

Returns

Attributes

Remarks

Request an informative description of the key status for the session. The status is in the form of {name, value} pairs. Since DRM license policies vary by vendor, the specific status field names are determined by each DRM vendor. Refer to your DRM provider documentation for definitions of the field names for a particular DRM plugin.

Java documentation for android.media.MediaDrm.queryKeyStatus(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