PlayToAllOptions interface
Options to playToAll audio.
- Extends
Properties
| interrupt |
If set play can barge into other existing queued-up/currently-processing requests. |
Inherited Properties
| abort |
The signal which can be used to abort requests. |
| loop | Determine if it is looping |
| on |
A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times. |
| operation |
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. |
| operation |
The value to identify context of the operation. |
| request |
Options used when creating and sending HTTP requests for this operation. |
| serializer |
Options to override serialization/de-serialization behavior. |
| tracing |
Options used when tracing is enabled. |
Property Details
interruptCallMediaOperation
If set play can barge into other existing queued-up/currently-processing requests.
interruptCallMediaOperation?: boolean
Property Value
boolean
Inherited Property Details
abortSignal
The signal which can be used to abort requests.
abortSignal?: AbortSignalLike
Property Value
Inherited From PlayOptions.abortSignal
loop
onResponse
A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times.
onResponse?: RawResponseCallback
Property Value
Inherited From PlayOptions.onResponse
operationCallbackUrl
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.
operationCallbackUrl?: string
Property Value
string
Inherited From PlayOptions.operationCallbackUrl
operationContext
The value to identify context of the operation.
operationContext?: string
Property Value
string
Inherited From PlayOptions.operationContext
requestOptions
Options used when creating and sending HTTP requests for this operation.
requestOptions?: OperationRequestOptions
Property Value
Inherited From PlayOptions.requestOptions
serializerOptions
Options to override serialization/de-serialization behavior.
serializerOptions?: SerializerOptions
Property Value
Inherited From PlayOptions.serializerOptions
tracingOptions
Options used when tracing is enabled.
tracingOptions?: OperationTracingOptions
Property Value
Inherited From PlayOptions.tracingOptions