Język

MediaDrm.KeyStatusChangeEventArgs Constructor

Definition

Stores the details of a DRM session's key-status notification.

public KeyStatusChangeEventArgs(Android.Media.MediaDrm md, byte[] sessionId, System.Collections.Generic.IList<Android.Media.MediaDrm.KeyStatus> keyInformation, bool hasNewUsableKey);
new Android.Media.MediaDrm.KeyStatusChangeEventArgs : Android.Media.MediaDrm * byte[] * System.Collections.Generic.IList<Android.Media.MediaDrm.KeyStatus> * bool -> Android.Media.MediaDrm.KeyStatusChangeEventArgs

Parameters

md
MediaDrm

The DRM instance associated with the key-status notification.

sessionId
Byte[]

The DRM session identifier for the reported key-status changes.

keyInformation
IList<MediaDrm.KeyStatus>

The per-key status records supplied with the notification.

hasNewUsableKey
Boolean

Whether the notification reports an added key that can be used.

Remarks

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