Package version:

Options to playToAll audio.

interface PlayToAllOptions {
    interruptCallMediaOperation?: boolean;
    loop?: boolean;
    operationCallbackUrl?: string;
    operationContext?: string;
}

Hierarchy (view full)

Properties

interruptCallMediaOperation?: boolean

If set play can barge into other existing queued-up/currently-processing requests.

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.