public final class LiveBroadcastContentDetails extends 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: http://code.google.com/p/google-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
Modifier and Type | Class and Description |
---|---|
static class |
LiveBroadcastContentDetails.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.
|
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
LiveBroadcastContentDetails() |
Modifier and Type | Method and Description |
---|---|
String |
getBoundStreamId()
This value uniquely identifies the live stream bound to the broadcast.
|
Boolean |
getEnableContentEncryption()
This setting indicates whether YouTube should enable content encryption for the broadcast.
|
Boolean |
getEnableDvr()
This setting determines whether viewers can access DVR controls while watching the video.
|
Boolean |
getEnableEmbed()
This setting indicates whether the broadcast video can be played in an embedded player.
|
LiveBroadcastContentDetails.MonitorStream |
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.
|
Boolean |
getRecordFromStart()
Automatically start recording after the event goes live.
|
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.
|
LiveBroadcastContentDetails |
setBoundStreamId(String boundStreamId)
This value uniquely identifies the live stream bound to the broadcast.
|
LiveBroadcastContentDetails |
setEnableContentEncryption(Boolean enableContentEncryption)
This setting indicates whether YouTube should enable content encryption for the broadcast.
|
LiveBroadcastContentDetails |
setEnableDvr(Boolean enableDvr)
This setting determines whether viewers can access DVR controls while watching the video.
|
LiveBroadcastContentDetails |
setEnableEmbed(Boolean enableEmbed)
This setting indicates whether the broadcast video can be played in an embedded player.
|
LiveBroadcastContentDetails |
setMonitorStream(LiveBroadcastContentDetails.MonitorStream 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 |
setRecordFromStart(Boolean recordFromStart)
Automatically start recording after the event goes live.
|
LiveBroadcastContentDetails |
setStartWithSlate(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.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getBoundStreamId()
null
.public LiveBroadcastContentDetails setBoundStreamId(String boundStreamId)
null
.public Boolean getEnableContentEncryption()
null
.public LiveBroadcastContentDetails setEnableContentEncryption(Boolean enableContentEncryption)
null
.public Boolean getEnableDvr()
null
.public LiveBroadcastContentDetails setEnableDvr(Boolean enableDvr)
null
.public Boolean getEnableEmbed()
null
.public LiveBroadcastContentDetails setEnableEmbed(Boolean enableEmbed)
null
.public LiveBroadcastContentDetails.MonitorStream getMonitorStream()
null
.public LiveBroadcastContentDetails setMonitorStream(LiveBroadcastContentDetails.MonitorStream monitorStream)
null
.public Boolean getRecordFromStart()
null
.public LiveBroadcastContentDetails setRecordFromStart(Boolean recordFromStart)
null
.public Boolean getStartWithSlate()
null
.public LiveBroadcastContentDetails setStartWithSlate(Boolean startWithSlate)
null
.