PlayOptions Class

Definition

Options to be used in the Play operation.

public class PlayOptions
type PlayOptions = class
Public Class PlayOptions
Inheritance
PlayOptions

Constructors

PlayOptions(IEnumerable<PlaySource>, IEnumerable<CommunicationIdentifier>)

Creates a new PlayOptions object.

PlayOptions(PlaySource, IEnumerable<CommunicationIdentifier>)

Creates a new PlayOptions object.

Properties

Loop

The option to play the provided audio source in loop when set to true.

OperationCallbackUri

The callback URI that overrides the default callback URI 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

The Operation Context.

PlaySources

PlaySource objects representing the sources to play.

PlayTo

A list of target identifiers to play the file to.

Applies to