target.apidocs.com.google.api.services.youtube.model.VideoLiveStreamingDetails.html Maven / Gradle / Ivy
VideoLiveStreamingDetails (YouTube Data API v3 v3-rev20200618-1.30.9)
com.google.api.services.youtube.model
Class VideoLiveStreamingDetails
- 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.VideoLiveStreamingDetails
-
public final class VideoLiveStreamingDetails
extends GenericJson
Details about the live streaming metadata.
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
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
VideoLiveStreamingDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
VideoLiveStreamingDetails
clone()
String
getActiveLiveChatId()
The ID of the currently active live chat attached to this video.
String
getActualEndTime()
The time that the broadcast actually ended.
String
getActualStartTime()
The time that the broadcast actually started.
BigInteger
getConcurrentViewers()
The number of viewers currently watching the broadcast.
String
getScheduledEndTime()
The time that the broadcast is scheduled to end.
String
getScheduledStartTime()
The time that the broadcast is scheduled to begin.
VideoLiveStreamingDetails
set(String fieldName,
Object value)
VideoLiveStreamingDetails
setActiveLiveChatId(String activeLiveChatId)
The ID of the currently active live chat attached to this video.
VideoLiveStreamingDetails
setActualEndTime(String actualEndTime)
The time that the broadcast actually ended.
VideoLiveStreamingDetails
setActualStartTime(String actualStartTime)
The time that the broadcast actually started.
VideoLiveStreamingDetails
setConcurrentViewers(BigInteger concurrentViewers)
The number of viewers currently watching the broadcast.
VideoLiveStreamingDetails
setScheduledEndTime(String scheduledEndTime)
The time that the broadcast is scheduled to end.
VideoLiveStreamingDetails
setScheduledStartTime(String scheduledStartTime)
The time that the broadcast is scheduled to begin.
-
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
-
getActiveLiveChatId
public String getActiveLiveChatId()
The ID of the currently active live chat attached to this video. This field is filled only if
the video is a currently live broadcast that has live chat. Once the broadcast transitions to
complete this field will be removed and the live chat closed down. For persistent broadcasts
that live chat id will no longer be tied to this video but rather to the new video being
displayed at the persistent page.
- Returns:
- value or
null
for none
-
setActiveLiveChatId
public VideoLiveStreamingDetails setActiveLiveChatId(String activeLiveChatId)
The ID of the currently active live chat attached to this video. This field is filled only if
the video is a currently live broadcast that has live chat. Once the broadcast transitions to
complete this field will be removed and the live chat closed down. For persistent broadcasts
that live chat id will no longer be tied to this video but rather to the new video being
displayed at the persistent page.
- Parameters:
activeLiveChatId
- activeLiveChatId or null
for none
-
getActualEndTime
public String getActualEndTime()
The time that the broadcast actually ended. The value is specified in ISO 8601 format. This
value will not be available until the broadcast is over.
- Returns:
- value or
null
for none
-
setActualEndTime
public VideoLiveStreamingDetails setActualEndTime(String actualEndTime)
The time that the broadcast actually ended. The value is specified in ISO 8601 format. This
value will not be available until the broadcast is over.
- Parameters:
actualEndTime
- actualEndTime or null
for none
-
getActualStartTime
public String getActualStartTime()
The time that the broadcast actually started. The value is specified in ISO 8601 format. This
value will not be available until the broadcast begins.
- Returns:
- value or
null
for none
-
setActualStartTime
public VideoLiveStreamingDetails setActualStartTime(String actualStartTime)
The time that the broadcast actually started. The value is specified in ISO 8601 format. This
value will not be available until the broadcast begins.
- Parameters:
actualStartTime
- actualStartTime or null
for none
-
getConcurrentViewers
public BigInteger getConcurrentViewers()
The number of viewers currently watching the broadcast. The property and its value will be
present if the broadcast has current viewers and the broadcast owner has not hidden the
viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for
a broadcast when the broadcast ends. So, this property would not identify the number of viewers
watching an archived video of a live broadcast that already ended.
- Returns:
- value or
null
for none
-
setConcurrentViewers
public VideoLiveStreamingDetails setConcurrentViewers(BigInteger concurrentViewers)
The number of viewers currently watching the broadcast. The property and its value will be
present if the broadcast has current viewers and the broadcast owner has not hidden the
viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for
a broadcast when the broadcast ends. So, this property would not identify the number of viewers
watching an archived video of a live broadcast that already ended.
- Parameters:
concurrentViewers
- concurrentViewers or null
for none
-
getScheduledEndTime
public String getScheduledEndTime()
The time that the broadcast is scheduled to end. The value is specified in ISO 8601 format. If
the value is empty or the property is not present, then the broadcast is scheduled to continue
indefinitely.
- Returns:
- value or
null
for none
-
setScheduledEndTime
public VideoLiveStreamingDetails setScheduledEndTime(String scheduledEndTime)
The time that the broadcast is scheduled to end. The value is specified in ISO 8601 format. If
the value is empty or the property is not present, then the broadcast is scheduled to continue
indefinitely.
- Parameters:
scheduledEndTime
- scheduledEndTime or null
for none
-
getScheduledStartTime
public String getScheduledStartTime()
The time that the broadcast is scheduled to begin. The value is specified in ISO 8601 format.
- Returns:
- value or
null
for none
-
setScheduledStartTime
public VideoLiveStreamingDetails setScheduledStartTime(String scheduledStartTime)
The time that the broadcast is scheduled to begin. The value is specified in ISO 8601 format.
- Parameters:
scheduledStartTime
- scheduledStartTime or null
for none
-
set
public VideoLiveStreamingDetails set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public VideoLiveStreamingDetails clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy