Class TalkResponse

java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.voice.TalkResponse
All Implemented Interfaces:
Jsonable

public class TalkResponse extends JsonableBaseObject
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 Details

  • Method Details

    • getUuid

      public String getUuid()
    • getMessage

      public String getMessage()
    • fromJson

      public static TalkResponse fromJson(String json)
      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.