MLMediaDRMKeyStatusInfo
Module: Media Player
MediaDRM session keys status change info. More...
#include <ml_media_drm.h>
Public Attributes
| Type | Name |
|---|---|
| MLMediaDRMByteArray * | session_id |
| size_t | key_status_count |
| MLMediaDRMKeyStatus * | key_status |
| bool | has_new_usable_key Indicates if a key has been added that is usable, which may trigger an attempt to resume playback on the media stream if it is currently blocked waiting for a key. |
| void * | data |
Detailed Description
struct MLMediaDRMKeyStatusInfo;
MediaDRM session keys status change info.
Deprecated
Deprecated since 1.4.0. Scheduled for removal.
API Level:
- 20
Public Attributes Documentation
session_id
MLMediaDRMByteArray * session_id;
DRM session id associated with the event.
key_status_count
size_t key_status_count;
Number of KeyStatus entries.
key_status
MLMediaDRMKeyStatus * key_status;
| Type | Description |
|---|---|
| MLMediaDRMKeyStatus * | MediaDRM key status. |
Pointer to array of MLMediaDRMKeyStatus of size key_status_count.
has_new_usable_key
bool has_new_usable_key;
Indicates if a key has been added that is usable, which may trigger an attempt to resume playback on the media stream if it is currently blocked waiting for a key.
data
void * data;
User data as passed to MLMediaDRMPlayerSetEventCallbacksEx().