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

#include <socialtypes.h>

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

Public Types

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

Public Member Functions

 PlayingActivity ()
 
virtual Type GetType () const override
 

Public Attributes

std::string gameName
 The name of the game being played. More...
 
std::string gameDisplayContext
 Some game specific context string that may indicate some extra info about the state of the game being played. More...
 
GameId gameId
 The ID of the game being played. More...
 

Detailed Description

Activity indicating the user is playing a game.

Member Enumeration Documentation

◆ Type

Enumeration that maps to each possible subclass of PresenceActivity.

Enumerator
Broadcasting 
Watching 
Playing 
Unknown 

Constructor & Destructor Documentation

◆ PlayingActivity()

ttv::social::PlayingActivity::PlayingActivity ( )

Member Function Documentation

◆ GetType()

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

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

Implements ttv::social::PresenceActivity.

Member Data Documentation

◆ gameDisplayContext

std::string ttv::social::PlayingActivity::gameDisplayContext

Some game specific context string that may indicate some extra info about the state of the game being played.

◆ gameId

GameId ttv::social::PlayingActivity::gameId

The ID of the game being played.

◆ gameName

std::string ttv::social::PlayingActivity::gameName

The name of the game being played.


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