MediaKeySession_Callback

typedef struct MediaKeySession_Callback {...} MediaKeySession_Callback

Overview

The MediaKeySession_Callback struct describes the callbacks for media key session events such as key expiration and key changes. It does not provide a MediaKeySession instance, making it suitable for single-session decryption scenarios.

Since: 11

Related module: Drm

Header file: native_mediakeysession.h

Summary

Member Variables

Name Description
MediaKeySession_EventCallback eventCallback Callback for standard events, such as key expiration.
MediaKeySession_KeyChangeCallback keyChangeCallback Callback for media key change events.