Package com.vonage.client.voice
Class TalkResponse
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.voice.TalkResponse
- All Implemented Interfaces:
Jsonable
Response from successfully sending a synthesized speech message or stopping a message to an active
Call.
This would be returned by VoiceClient.startTalk(String, TalkPayload) or VoiceClient.stopTalk(String)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TalkResponseCreates 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
-
TalkResponse
public TalkResponse()
-
-
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.
-