com.opentok.Stream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opentok-server-sdk Show documentation
Show all versions of opentok-server-sdk Show documentation
The OpenTok Java SDK lets you generate sessions and tokens for OpenTok applications. This version of the SDK also includes support for working with OpenTok 2.0 archives.
The newest version!
/**
* OpenTok Java SDK
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
import com.fasterxml.jackson.annotation.*;
import java.util.List;
/**
* Represents a stream in an OpenTok session.
*/
@JsonIgnoreProperties(ignoreUnknown=true)
public class Stream {
@JsonProperty private String id;
@JsonProperty private String videoType;
@JsonProperty private String name;
@JsonProperty private List layoutClassList;
protected Stream() {
}
@JsonCreator
public static Stream makeStream() {
return new Stream();
}
/**
* The stream ID.
*/
public String getId() {
return id;
}
/**
* The stream videoType.
*/
public String getVideoType() {
return videoType;
}
/**
* The name of the stream.
*/
public String getName() {
return name;
}
/**
* The layout class list of the stream.
*/
public List getLayoutClassList() {
return layoutClassList;
}
}