React Native THEOplayer SDK
    Preparing search index...

    Interface ContentProtectionErrorObject

    An error related to content protection.

    interface ContentProtectionErrorObject {
        errorCode: string;
        errorMessage: string;
        keySystem?: KeySystemId;
        response?: string;
        status?: number;
        statusText?: string;
        systemCode?: number;
        url?: string;
    }
    Index
    errorCode: string

    The error code.

    errorMessage: string

    The error message.

    keySystem?: KeySystemId

    The key system that was in use when the error occurred.

    Not available when the error cannot be attributed to a single key system, for example when several key systems were attempted and none is supported, or while casting to Chromecast.

    response?: string

    The body contained in the HTTP response.

    Only available for certificate or license request errors.

    status?: number

    The status code from the HTTP response.

    Only available for certificate or license request errors.

    statusText?: string

    The status text from the HTTP response.

    Only available for certificate or license request errors.

    systemCode?: number

    The internal error code from the CDM.

    Only available for internal CDM errors.

    url?: string

    The URL that was used in the request.

    Only available for certificate or license request errors.