java.lang.Object
com.azure.communication.callautomation.models.PlayOptions

public final class PlayOptions extends Object
The PlayOptionsInternal model.
  • 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

      public String getOperationContext()
      Get the operationContext property.
      Returns:
      the operationContext value.
    • setLoop

      public PlayOptions setLoop(boolean loop)
      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

      public PlayOptions setOperationContext(String operationContext)
      Set the operationContext property.
      Parameters:
      operationContext - the operationContext value to set.
      Returns:
      the PlayOptionsInternal object itself.