Class StreamResponse

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

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

  • Method Details

    • getUuid

      public String getUuid()
    • getMessage

      public String getMessage()
    • fromJson

      public static StreamResponse 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.