Class PlayOptions
java.lang.Object
com.azure.communication.callautomation.models.PlayOptions
The PlayOptionsInternal model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the operationContext property.boolean
isLoop()
Get the loop property: The option to play the provided audio source in loop when set to true.setLoop
(boolean loop) Set the loop property: The option to play the provided audio source in loop when set to true.setOperationContext
(String operationContext) Set the operationContext property.
-
Constructor Details
-
PlayOptions
public PlayOptions()
-
-
Method Details
-
isLoop
public boolean isLoop()Get the loop property: The option to play the provided audio source in loop when set to true.- Returns:
- the loop value.
-
getOperationContext
Get the operationContext property.- Returns:
- the operationContext value.
-
setLoop
Set the loop property: The option to play the provided audio source in loop when set to true.- Parameters:
loop
- the loop value to set.- Returns:
- the PlayOptionsInternal object itself.
-
setOperationContext
Set the operationContext property.- Parameters:
operationContext
- the operationContext value to set.- Returns:
- the PlayOptionsInternal object itself.
-