public final class LiveBroadcastContentDetails
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the YouTube Data API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
LiveBroadcastContentDetails() |
Modifier and Type | Method and Description |
---|---|
LiveBroadcastContentDetails |
clone() |
byte[] |
decodeMesh()
The mesh for projecting the video if projection is mesh.
|
LiveBroadcastContentDetails |
encodeMesh(byte[] mesh)
The mesh for projecting the video if projection is mesh.
|
java.lang.String |
getBoundStreamId()
This value uniquely identifies the live stream bound to the broadcast.
|
com.google.api.client.util.DateTime |
getBoundStreamLastUpdateTimeMs()
The date and time that the live stream referenced by boundStreamId was last updated.
|
java.lang.String |
getClosedCaptionsType() |
java.lang.Boolean |
getEnableAutoStart()
This setting indicates whether auto start is enabled for this broadcast.
|
java.lang.Boolean |
getEnableClosedCaptions()
This setting indicates whether HTTP POST closed captioning is enabled for this broadcast.
|
java.lang.Boolean |
getEnableContentEncryption()
This setting indicates whether YouTube should enable content encryption for the broadcast.
|
java.lang.Boolean |
getEnableDvr()
This setting determines whether viewers can access DVR controls while watching the video.
|
java.lang.Boolean |
getEnableEmbed()
This setting indicates whether the broadcast video can be played in an embedded player.
|
java.lang.Boolean |
getEnableLowLatency()
Indicates whether this broadcast has low latency enabled.
|
java.lang.String |
getLatencyPreference()
If both this and enable_low_latency are set, they must match.
|
java.lang.String |
getMesh()
The mesh for projecting the video if projection is mesh.
|
MonitorStreamInfo |
getMonitorStream()
The monitorStream object contains information about the monitor stream, which the broadcaster
can use to review the event content before the broadcast stream is shown publicly.
|
java.lang.String |
getProjection()
The projection format of this broadcast.
|
java.lang.Boolean |
getRecordFromStart()
Automatically start recording after the event goes live.
|
java.lang.Boolean |
getStartWithSlate()
This setting indicates whether the broadcast should automatically begin with an in-stream slate
when you update the broadcast's status to live.
|
java.lang.String |
getStereoLayout() |
LiveBroadcastContentDetails |
set(java.lang.String fieldName,
java.lang.Object value) |
LiveBroadcastContentDetails |
setBoundStreamId(java.lang.String boundStreamId)
This value uniquely identifies the live stream bound to the broadcast.
|
LiveBroadcastContentDetails |
setBoundStreamLastUpdateTimeMs(com.google.api.client.util.DateTime boundStreamLastUpdateTimeMs)
The date and time that the live stream referenced by boundStreamId was last updated.
|
LiveBroadcastContentDetails |
setClosedCaptionsType(java.lang.String closedCaptionsType) |
LiveBroadcastContentDetails |
setEnableAutoStart(java.lang.Boolean enableAutoStart)
This setting indicates whether auto start is enabled for this broadcast.
|
LiveBroadcastContentDetails |
setEnableClosedCaptions(java.lang.Boolean enableClosedCaptions)
This setting indicates whether HTTP POST closed captioning is enabled for this broadcast.
|
LiveBroadcastContentDetails |
setEnableContentEncryption(java.lang.Boolean enableContentEncryption)
This setting indicates whether YouTube should enable content encryption for the broadcast.
|
LiveBroadcastContentDetails |
setEnableDvr(java.lang.Boolean enableDvr)
This setting determines whether viewers can access DVR controls while watching the video.
|
LiveBroadcastContentDetails |
setEnableEmbed(java.lang.Boolean enableEmbed)
This setting indicates whether the broadcast video can be played in an embedded player.
|
LiveBroadcastContentDetails |
setEnableLowLatency(java.lang.Boolean enableLowLatency)
Indicates whether this broadcast has low latency enabled.
|
LiveBroadcastContentDetails |
setLatencyPreference(java.lang.String latencyPreference)
If both this and enable_low_latency are set, they must match.
|
LiveBroadcastContentDetails |
setMesh(java.lang.String mesh)
The mesh for projecting the video if projection is mesh.
|
LiveBroadcastContentDetails |
setMonitorStream(MonitorStreamInfo monitorStream)
The monitorStream object contains information about the monitor stream, which the broadcaster
can use to review the event content before the broadcast stream is shown publicly.
|
LiveBroadcastContentDetails |
setProjection(java.lang.String projection)
The projection format of this broadcast.
|
LiveBroadcastContentDetails |
setRecordFromStart(java.lang.Boolean recordFromStart)
Automatically start recording after the event goes live.
|
LiveBroadcastContentDetails |
setStartWithSlate(java.lang.Boolean startWithSlate)
This setting indicates whether the broadcast should automatically begin with an in-stream slate
when you update the broadcast's status to live.
|
LiveBroadcastContentDetails |
setStereoLayout(java.lang.String stereoLayout) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getBoundStreamId()
null
for nonepublic LiveBroadcastContentDetails setBoundStreamId(java.lang.String boundStreamId)
boundStreamId
- boundStreamId or null
for nonepublic com.google.api.client.util.DateTime getBoundStreamLastUpdateTimeMs()
null
for nonepublic LiveBroadcastContentDetails setBoundStreamLastUpdateTimeMs(com.google.api.client.util.DateTime boundStreamLastUpdateTimeMs)
boundStreamLastUpdateTimeMs
- boundStreamLastUpdateTimeMs or null
for nonepublic java.lang.String getClosedCaptionsType()
null
for nonepublic LiveBroadcastContentDetails setClosedCaptionsType(java.lang.String closedCaptionsType)
closedCaptionsType
- closedCaptionsType or null
for nonepublic java.lang.Boolean getEnableAutoStart()
null
for nonepublic LiveBroadcastContentDetails setEnableAutoStart(java.lang.Boolean enableAutoStart)
enableAutoStart
- enableAutoStart or null
for nonepublic java.lang.Boolean getEnableClosedCaptions()
null
for nonepublic LiveBroadcastContentDetails setEnableClosedCaptions(java.lang.Boolean enableClosedCaptions)
enableClosedCaptions
- enableClosedCaptions or null
for nonepublic java.lang.Boolean getEnableContentEncryption()
null
for nonepublic LiveBroadcastContentDetails setEnableContentEncryption(java.lang.Boolean enableContentEncryption)
enableContentEncryption
- enableContentEncryption or null
for nonepublic java.lang.Boolean getEnableDvr()
null
for nonepublic LiveBroadcastContentDetails setEnableDvr(java.lang.Boolean enableDvr)
enableDvr
- enableDvr or null
for nonepublic java.lang.Boolean getEnableEmbed()
null
for nonepublic LiveBroadcastContentDetails setEnableEmbed(java.lang.Boolean enableEmbed)
enableEmbed
- enableEmbed or null
for nonepublic java.lang.Boolean getEnableLowLatency()
null
for nonepublic LiveBroadcastContentDetails setEnableLowLatency(java.lang.Boolean enableLowLatency)
enableLowLatency
- enableLowLatency or null
for nonepublic java.lang.String getLatencyPreference()
null
for nonepublic LiveBroadcastContentDetails setLatencyPreference(java.lang.String latencyPreference)
latencyPreference
- latencyPreference or null
for nonepublic java.lang.String getMesh()
null
for nonedecodeMesh()
public byte[] decodeMesh()
null
for nonegetMesh()
public LiveBroadcastContentDetails setMesh(java.lang.String mesh)
mesh
- mesh or null
for none#encodeMesh()
public LiveBroadcastContentDetails encodeMesh(byte[] mesh)
The value is encoded Base64 or {@code null} for none.
public MonitorStreamInfo getMonitorStream()
null
for nonepublic LiveBroadcastContentDetails setMonitorStream(MonitorStreamInfo monitorStream)
monitorStream
- monitorStream or null
for nonepublic java.lang.String getProjection()
null
for nonepublic LiveBroadcastContentDetails setProjection(java.lang.String projection)
projection
- projection or null
for nonepublic java.lang.Boolean getRecordFromStart()
null
for nonepublic LiveBroadcastContentDetails setRecordFromStart(java.lang.Boolean recordFromStart)
recordFromStart
- recordFromStart or null
for nonepublic java.lang.Boolean getStartWithSlate()
null
for nonepublic LiveBroadcastContentDetails setStartWithSlate(java.lang.Boolean startWithSlate)
startWithSlate
- startWithSlate or null
for nonepublic java.lang.String getStereoLayout()
null
for nonepublic LiveBroadcastContentDetails setStereoLayout(java.lang.String stereoLayout)
stereoLayout
- stereoLayout or null
for nonepublic LiveBroadcastContentDetails set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public LiveBroadcastContentDetails clone()
clone
in class com.google.api.client.json.GenericJson