Package version:

Options to play audio.

interface PlayOptions {
    loop?: boolean;
    operationCallbackUrl?: string;
    operationContext?: string;
}

Hierarchy (view full)

Properties

loop?: boolean

Determine if it is looping

operationCallbackUrl?: string

Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation. This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.

operationContext?: string

The value to identify context of the operation.