|
Twitch SDK (Internal)
|
#include <socialtypes.h>
Public Types | |
| enum | Type { Type::Broadcasting, Type::Watching, Type::Playing, Type::Unknown } |
Public Member Functions | |
| virtual Type | GetType () const =0 |
| virtual std::unique_ptr< PresenceActivity > | Clone () const =0 |
Abstract base class for an activity.
|
strong |
Enumeration that maps to each possible subclass of PresenceActivity.
| Enumerator | |
|---|---|
| Broadcasting | |
| Watching | |
| Playing | |
| Unknown | |
|
pure virtual |
Makes a safe copy of the activity of the matching subclass, without slicing.
Implemented in ttv::Cloneable< PresenceActivity, BroadcastingActivity >, ttv::Cloneable< PresenceActivity, WatchingActivity >, and ttv::Cloneable< PresenceActivity, PlayingActivity >.
|
pure virtual |
The return value indicates which concrete activity subclass this object is.
Implemented in ttv::social::PlayingActivity, ttv::social::WatchingActivity, and ttv::social::BroadcastingActivity.
1.8.13