target.apidocs.com.google.api.services.youtube.model.LiveBroadcastStatus.html Maven / Gradle / Ivy
LiveBroadcastStatus (YouTube Data API v3 v3-rev20240909-2.0.0)
com.google.api.services.youtube.model
Class LiveBroadcastStatus
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.youtube.model.LiveBroadcastStatus
-
public final class LiveBroadcastStatus
extends com.google.api.client.json.GenericJson
Live broadcast state.
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 v3. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
LiveBroadcastStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
LiveBroadcastStatus
clone()
String
getLifeCycleStatus()
The broadcast's status.
String
getLiveBroadcastPriority()
Priority of the live broadcast event (internal state).
Boolean
getMadeForKids()
Whether the broadcast is made for kids or not, decided by YouTube instead of the creator.
String
getPrivacyStatus()
The broadcast's privacy status.
String
getRecordingStatus()
The broadcast's recording status.
Boolean
getSelfDeclaredMadeForKids()
This field will be set to True if the creator declares the broadcast to be kids only: go/live-
cw-work.
LiveBroadcastStatus
set(String fieldName,
Object value)
LiveBroadcastStatus
setLifeCycleStatus(String lifeCycleStatus)
The broadcast's status.
LiveBroadcastStatus
setLiveBroadcastPriority(String liveBroadcastPriority)
Priority of the live broadcast event (internal state).
LiveBroadcastStatus
setMadeForKids(Boolean madeForKids)
Whether the broadcast is made for kids or not, decided by YouTube instead of the creator.
LiveBroadcastStatus
setPrivacyStatus(String privacyStatus)
The broadcast's privacy status.
LiveBroadcastStatus
setRecordingStatus(String recordingStatus)
The broadcast's recording status.
LiveBroadcastStatus
setSelfDeclaredMadeForKids(Boolean selfDeclaredMadeForKids)
This field will be set to True if the creator declares the broadcast to be kids only: go/live-
cw-work.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getLifeCycleStatus
public String getLifeCycleStatus()
The broadcast's status. The status can be updated using the API's liveBroadcasts.transition
method.
- Returns:
- value or
null
for none
-
setLifeCycleStatus
public LiveBroadcastStatus setLifeCycleStatus(String lifeCycleStatus)
The broadcast's status. The status can be updated using the API's liveBroadcasts.transition
method.
- Parameters:
lifeCycleStatus
- lifeCycleStatus or null
for none
-
getLiveBroadcastPriority
public String getLiveBroadcastPriority()
Priority of the live broadcast event (internal state).
- Returns:
- value or
null
for none
-
setLiveBroadcastPriority
public LiveBroadcastStatus setLiveBroadcastPriority(String liveBroadcastPriority)
Priority of the live broadcast event (internal state).
- Parameters:
liveBroadcastPriority
- liveBroadcastPriority or null
for none
-
getMadeForKids
public Boolean getMadeForKids()
Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This
field is read only.
- Returns:
- value or
null
for none
-
setMadeForKids
public LiveBroadcastStatus setMadeForKids(Boolean madeForKids)
Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This
field is read only.
- Parameters:
madeForKids
- madeForKids or null
for none
-
getPrivacyStatus
public String getPrivacyStatus()
The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video,
so the privacy settings are identical to those supported for videos. In addition, you can set
this field by modifying the broadcast resource or by setting the privacyStatus field of the
corresponding video resource.
- Returns:
- value or
null
for none
-
setPrivacyStatus
public LiveBroadcastStatus setPrivacyStatus(String privacyStatus)
The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video,
so the privacy settings are identical to those supported for videos. In addition, you can set
this field by modifying the broadcast resource or by setting the privacyStatus field of the
corresponding video resource.
- Parameters:
privacyStatus
- privacyStatus or null
for none
-
getRecordingStatus
public String getRecordingStatus()
The broadcast's recording status.
- Returns:
- value or
null
for none
-
setRecordingStatus
public LiveBroadcastStatus setRecordingStatus(String recordingStatus)
The broadcast's recording status.
- Parameters:
recordingStatus
- recordingStatus or null
for none
-
getSelfDeclaredMadeForKids
public Boolean getSelfDeclaredMadeForKids()
This field will be set to True if the creator declares the broadcast to be kids only: go/live-
cw-work.
- Returns:
- value or
null
for none
-
setSelfDeclaredMadeForKids
public LiveBroadcastStatus setSelfDeclaredMadeForKids(Boolean selfDeclaredMadeForKids)
This field will be set to True if the creator declares the broadcast to be kids only: go/live-
cw-work.
- Parameters:
selfDeclaredMadeForKids
- selfDeclaredMadeForKids or null
for none
-
set
public LiveBroadcastStatus set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public LiveBroadcastStatus clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy