PlayToAllOptions Class
- java.
lang. Object - com.
azure. communication. callautomation. models. PlayToAllOptions
- com.
public final class PlayToAllOptions
The PlayToAllOptions model.
Constructor Summary
| Constructor | Description |
|---|---|
| PlayToAllOptions(PlaySource playSource) |
Constructor |
| PlayToAllOptions(List<PlaySource> playSources) |
Constructor |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
getOperationCallbackUrl()
Get the overridden call back URL override for operation. |
| String |
getOperationContext()
Get the operation |
|
List<Play |
getPlaySources()
Get the play sources. |
| Boolean |
isInterruptCallMediaOperation()
Get the interrupt |
| boolean |
isLoop()
Get the loop property: The option to play the provided audio source in loop when set to true. |
|
Play |
setInterruptCallMediaOperation(Boolean interruptCallMediaOperation)
Set the interrupt |
|
Play |
setLoop(boolean loop)
Set the loop property: The option to play the provided audio source in loop when set to true. |
|
Play |
setOperationCallbackUrl(String operationCallbackUrl)
Set a callback URI that overrides the default callback URI set by Create |
|
Play |
setOperationContext(String operationContext)
Set the operation |
Methods inherited from java.lang.Object
Constructor Details
PlayToAllOptions
public PlayToAllOptions(PlaySource playSource)
Constructor
Parameters:
PlayToAllOptions
public PlayToAllOptions(List<PlaySource> playSources)
Constructor
Parameters:
Method Details
getOperationCallbackUrl
public String getOperationCallbackUrl()
Get the overridden call back URL override for operation.
Returns:
getOperationContext
public String getOperationContext()
Get the operationContext property.
Returns:
getPlaySources
public List<PlaySource> getPlaySources()
Get the play sources.
Returns:
isInterruptCallMediaOperation
public Boolean isInterruptCallMediaOperation()
Get the interruptCallMediaOperation property: If set play can barge into other existing queued-up/currently-processing requests.
Returns:
isLoop
public boolean isLoop()
Get the loop property: The option to play the provided audio source in loop when set to true.
Returns:
setInterruptCallMediaOperation
public PlayToAllOptions setInterruptCallMediaOperation(Boolean interruptCallMediaOperation)
Set the interruptCallMediaOperation property: If set play can barge into other existing queued-up/currently-processing requests.
Parameters:
Returns:
setLoop
public PlayToAllOptions setLoop(boolean loop)
Set the loop property: The option to play the provided audio source in loop when set to true.
Parameters:
Returns:
setOperationCallbackUrl
public PlayToAllOptions setOperationCallbackUrl(String operationCallbackUrl)
Set a 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.
Parameters:
Returns:
setOperationContext
public PlayToAllOptions setOperationContext(String operationContext)
Set the operationContext property.
Parameters:
Returns: