youtube
v3
|
#include <live_broadcast_statistics.h>
Public Member Functions | |
LiveBroadcastStatistics (const Json::Value &storage) | |
LiveBroadcastStatistics (Json::Value *storage) | |
virtual | ~LiveBroadcastStatistics () |
const StringPiece | GetTypeName () const |
bool | has_concurrent_viewers () const |
void | clear_concurrent_viewers () |
uint64 | get_concurrent_viewers () const |
void | set_concurrent_viewers (uint64 value) |
bool | has_total_chat_count () const |
void | clear_total_chat_count () |
uint64 | get_total_chat_count () const |
void | set_total_chat_count (uint64 value) |
Static Public Member Functions | |
static LiveBroadcastStatistics * | New () |
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.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'concurrentViewers
' attribute.
|
inline |
Clears the 'totalChatCount
' attribute.
|
inline |
Get the value of the 'concurrentViewers
' attribute.
|
inline |
Get the value of the 'totalChatCount
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'concurrentViewers
' attribute was set.
concurrentViewers
' attribute was set.
|
inline |
Determine if the 'totalChatCount
' attribute was set.
totalChatCount
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'concurrentViewers
' attribute.
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.
[in] | value | The new value. |
|
inline |
Change the 'totalChatCount
' attribute.
The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast.
[in] | value | The new value. |