@grabjs/superapp-sdk
    Preparing search index...

    Type Alias PlayDRMContentResponse

    PlayDRMContentResponse: BridgeResponse<
        200
        | 204
        | 500
        | 501,
        PlayDRMContentResult,
    >

    Response when initiating DRM content playback.

    This response can have the following status codes:

    • 200: Playback initiated successfully (streaming content).
    • 204: Invalid parameters - the DRM configuration is malformed or missing required fields.
    • 500: Internal server error - an unexpected error occurred on the native side.
    • 501: Not implemented - this method requires the Grab app environment.

    Success response (200):

    { status_code: 200 }
    

    Invalid parameters response (204):

    { status_code: 204 }
    

    Internal server error response (500):

    {
    status_code: 500,
    error: 'Internal server error'
    }

    Not implemented response (501) - outside Grab app:

    {
    status_code: 501,
    error: 'Not implemented: This method requires the Grab app environment'
    }