React Native THEOplayer SDK
    Preparing search index...

    Interface ContentProtectionSuccessEvent

    Dispatched when content protection succeeds, i.e. when the key session for a media track was successfully set up.

    interface ContentProtectionSuccessEvent {
        date: Date;
        keySystem?: KeySystemId;
        type: CONTENT_PROTECTION_SUCCESS;
    }

    Hierarchy (View Summary)

    Index
    date: Date

    The creation date of the event.

    keySystem?: KeySystemId

    The key system that made the key usable.

    Not available when the player cannot determine the key system, for example while casting to Chromecast.

    The type of the event.