Package com.vonage.client.voice.ncco
Class StreamAction
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.voice.ncco.StreamAction
An NCCO stream action which allows for media to be streamed to a call.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic StreamAction.Builderstatic StreamAction.Builderbuilder(Collection<String> streamUrl) getLevel()getLoop()Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Method Details
-
getAction
-
getStreamUrl
-
getLevel
-
getBargeIn
-
getLoop
-
builder
- Parameters:
streamUrl- An array containing a single URL to an mp3 or wav (16-bit) audio file to stream to the Call or Conversation.- Returns:
- A
StreamAction.Builder.
-
builder
- Parameters:
streamUrl- An array containing a single URL to an mp3 or wav (16-bit) audio file to stream to the Call or Conversation.- Returns:
- A
StreamAction.Builder.
-