Package com.bandwidth.voice.bxml.verbs
Class PlayAudio
java.lang.Object
com.bandwidth.voice.bxml.verbs.PlayAudio
- All Implemented Interfaces:
AudioProducer
,Verb
public class PlayAudio extends java.lang.Object implements Verb, AudioProducer
The PlayAudio verb is used to play an audio file in the call. The URL of an audio file should be included in the body of the tag. If a relative URL is given, it is resolved relative to the endpoint that returned the BXML.
NOTE: .wav files encoded as PCM or G711 are supported.
NOTE: .wav files encoded as PCM or G711 are supported.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PlayAudio.PlayAudioBuilder
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PlayAudio()
-
Method Summary
-
Field Details
-
TYPE_NAME
public static final java.lang.String TYPE_NAME- See Also:
- Constant Field Values
-
username
protected java.lang.String usernameusername to authenticate at the audioUri endpoint -
password
protected java.lang.String passwordpassword to use to authenticate at the audioUri endpoint
-
-
Constructor Details
-
PlayAudio
public PlayAudio()
-