All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.youtube.model.LiveBroadcastStatistics.html Maven / Gradle / Ivy

There is a newer version: v3-rev20240514-2.0.0
Show newest version






LiveBroadcastStatistics (YouTube Data API v3 v3-rev20240417-2.0.0)












com.google.api.services.youtube.model

Class LiveBroadcastStatistics

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class LiveBroadcastStatistics
    extends com.google.api.client.json.GenericJson
    Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts.

    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.
    • Constructor Detail

      • LiveBroadcastStatistics

        public LiveBroadcastStatistics()
    • Method Detail

      • 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 LiveBroadcastStatistics 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
      • clone

        public LiveBroadcastStatistics 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