Twitch SDK (Internal)
Public Types | Public Member Functions | Public Attributes | List of all members
ttv::social::BroadcastingActivity Struct Reference

#include <socialtypes.h>

Inheritance diagram for ttv::social::BroadcastingActivity:
ttv::Cloneable< PresenceActivity, BroadcastingActivity > ttv::social::PresenceActivity

Public Types

enum  Type { Type::Broadcasting, Type::Watching, Type::Playing, Type::Unknown }
 

Public Member Functions

 BroadcastingActivity ()
 
virtual Type GetType () const override
 

Public Attributes

std::string channelLogin
 The login of the channel the user is broadcasting from. More...
 
std::string channelDisplayName
 The display name of the channel the user is broadcasting from. More...
 
std::string gameName
 The name of the game being played on the channel. More...
 
ChannelId channelId
 The channelId of the channel the user is broadcasting from. More...
 
GameId gameId
 The ID of the game being played on the channel. More...
 

Detailed Description

Activity indicating the user is streaming.

Member Enumeration Documentation

◆ Type

Enumeration that maps to each possible subclass of PresenceActivity.

Enumerator
Broadcasting 
Watching 
Playing 
Unknown 

Constructor & Destructor Documentation

◆ BroadcastingActivity()

ttv::social::BroadcastingActivity::BroadcastingActivity ( )

Member Function Documentation

◆ GetType()

virtual Type ttv::social::BroadcastingActivity::GetType ( ) const
inlineoverridevirtual

The return value indicates which concrete activity subclass this object is.

Implements ttv::social::PresenceActivity.

Member Data Documentation

◆ channelDisplayName

std::string ttv::social::BroadcastingActivity::channelDisplayName

The display name of the channel the user is broadcasting from.

◆ channelId

ChannelId ttv::social::BroadcastingActivity::channelId

The channelId of the channel the user is broadcasting from.

◆ channelLogin

std::string ttv::social::BroadcastingActivity::channelLogin

The login of the channel the user is broadcasting from.

◆ gameId

GameId ttv::social::BroadcastingActivity::gameId

The ID of the game being played on the channel.

◆ gameName

std::string ttv::social::BroadcastingActivity::gameName

The name of the game being played on the channel.


The documentation for this struct was generated from the following file: