Package com.vonage.client.voice
Class StreamResponse
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.voice.StreamResponse
- All Implemented Interfaces:
Jsonable
Response from successfully streaming an audio file or stopping a stream to an active
Call.
This would be returned by VoiceClient.startStream(String, String) or VoiceClient.stopStream(String)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StreamResponseCreates an instance of this class from a JSON payload.getUuid()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
-
Constructor Details
-
StreamResponse
public StreamResponse()
-
-
Method Details
-
getUuid
-
getMessage
-
fromJson
Creates an instance of this class from a JSON payload.- Parameters:
json- The JSON string to parse.- Returns:
- An instance of this class with the fields populated, if present.
-