Package video.api.client.api.models
Class LiveStream
- java.lang.Object
-
- video.api.client.api.models.LiveStream
-
- All Implemented Interfaces:
Serializable
public class LiveStream extends Object implements Serializable
LiveStream- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ASSETSstatic StringSERIALIZED_NAME_BROADCASTINGstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_LIVE_STREAM_IDstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_PLAYER_IDstatic StringSERIALIZED_NAME_PUBLICstatic StringSERIALIZED_NAME_RECORDstatic StringSERIALIZED_NAME_STREAM_KEYstatic StringSERIALIZED_NAME_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description LiveStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LiveStream_public(Boolean _public)LiveStreamassets(LiveStreamAssets assets)LiveStreambroadcasting(Boolean broadcasting)LiveStreamcreatedAt(OffsetDateTime createdAt)booleanequals(Object o)LiveStreamAssetsgetAssets()Get assetsBooleangetBroadcasting()Whether or not you are broadcasting the live video you recorded for others to see.OffsetDateTimegetCreatedAt()When the player was created, presented in ISO-8601 format.StringgetLiveStreamId()The unique identifier for the live stream.StringgetName()The name of your live stream.StringgetPlayerId()The unique identifier for the player.BooleangetPublic()BETA FEATURE Please limit all public = false (\"private\") livestreams to 3,000 users.BooleangetRecord()Whether you are recording or not.StringgetStreamKey()The unique, private stream key that you use to begin streaming.OffsetDateTimegetUpdatedAt()When the player was last updated, presented in ISO-8601 format.inthashCode()LiveStreamliveStreamId(String liveStreamId)LiveStreamname(String name)LiveStreamplayerId(String playerId)LiveStreamrecord(Boolean record)voidsetAssets(LiveStreamAssets assets)voidsetBroadcasting(Boolean broadcasting)voidsetCreatedAt(OffsetDateTime createdAt)voidsetLiveStreamId(String liveStreamId)voidsetName(String name)voidsetPlayerId(String playerId)voidsetPublic(Boolean _public)voidsetRecord(Boolean record)voidsetStreamKey(String streamKey)voidsetUpdatedAt(OffsetDateTime updatedAt)LiveStreamstreamKey(String streamKey)StringtoString()LiveStreamupdatedAt(OffsetDateTime updatedAt)
-
-
-
Field Detail
-
SERIALIZED_NAME_LIVE_STREAM_ID
public static final String SERIALIZED_NAME_LIVE_STREAM_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STREAM_KEY
public static final String SERIALIZED_NAME_STREAM_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RECORD
public static final String SERIALIZED_NAME_RECORD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PUBLIC
public static final String SERIALIZED_NAME_PUBLIC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ASSETS
public static final String SERIALIZED_NAME_ASSETS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PLAYER_ID
public static final String SERIALIZED_NAME_PLAYER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BROADCASTING
public static final String SERIALIZED_NAME_BROADCASTING
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
-
Method Detail
-
liveStreamId
public LiveStream liveStreamId(String liveStreamId)
-
getLiveStreamId
public String getLiveStreamId()
The unique identifier for the live stream. Live stream IDs begin with \"li.\"- Returns:
- liveStreamId
-
setLiveStreamId
public void setLiveStreamId(String liveStreamId)
-
name
public LiveStream name(String name)
-
getName
@Nullable public String getName()
The name of your live stream.- Returns:
- name
-
setName
public void setName(String name)
-
streamKey
public LiveStream streamKey(String streamKey)
-
getStreamKey
@Nullable public String getStreamKey()
The unique, private stream key that you use to begin streaming.- Returns:
- streamKey
-
setStreamKey
public void setStreamKey(String streamKey)
-
record
public LiveStream record(Boolean record)
-
getRecord
@Nullable public Boolean getRecord()
Whether you are recording or not.- Returns:
- record
-
setRecord
public void setRecord(Boolean record)
-
_public
public LiveStream _public(Boolean _public)
-
getPublic
@Nullable public Boolean getPublic()
BETA FEATURE Please limit all public = false (\"private\") livestreams to 3,000 users. Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view.- Returns:
- _public
-
setPublic
public void setPublic(Boolean _public)
-
assets
public LiveStream assets(LiveStreamAssets assets)
-
getAssets
@Nullable public LiveStreamAssets getAssets()
Get assets- Returns:
- assets
-
setAssets
public void setAssets(LiveStreamAssets assets)
-
playerId
public LiveStream playerId(String playerId)
-
getPlayerId
@Nullable public String getPlayerId()
The unique identifier for the player.- Returns:
- playerId
-
setPlayerId
public void setPlayerId(String playerId)
-
broadcasting
public LiveStream broadcasting(Boolean broadcasting)
-
getBroadcasting
@Nullable public Boolean getBroadcasting()
Whether or not you are broadcasting the live video you recorded for others to see. True means you are broadcasting to viewers, false means you are not.- Returns:
- broadcasting
-
setBroadcasting
public void setBroadcasting(Boolean broadcasting)
-
createdAt
public LiveStream createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
When the player was created, presented in ISO-8601 format.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public LiveStream updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
When the player was last updated, presented in ISO-8601 format.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
-