Package com.vonage.client.video
Class GetStreamResponse
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.video.SessionStream
com.vonage.client.video.GetStreamResponse
- All Implemented Interfaces:
Jsonable
Represents details of a stream, as returned from
VideoClient.getStream(String, String).-
Nested Class Summary
Nested classes/interfaces inherited from class com.vonage.client.video.SessionStream
SessionStream.Builder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GetStreamResponseCreates an instance of this class from a JSON payload.getName()Methods inherited from class com.vonage.client.video.SessionStream
builder, getId, getLayoutClassListMethods 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
-
GetStreamResponse
protected GetStreamResponse()
-
-
Method Details
-
getVideoType
- Returns:
- The video source for the stream.
-
getName
- Returns:
- The name of the stream (if one was set when the client published the stream).
-
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.
-