|
Twitch SDK (Internal)
|
#include <socialtypes.h>
Public Types | |
| enum | Type { Type::Broadcasting, Type::Watching, Type::Playing, Type::Unknown } |
Public Member Functions | |
| WatchingActivity () | |
| virtual Type | GetType () const override |
Public Attributes | |
| std::string | channelLogin |
| The login of the channel being viewed. More... | |
| std::string | channelDisplayName |
| The display name of the channel being viewed. More... | |
| std::string | hostedChannelLogin |
| The login of a channel that is being hosted by the viewed channel, or empty string if it is not hosting. More... | |
| std::string | hostedChannelDisplayName |
| The display name of the channel that is being hosted by the viewed channel, or empty string if it is not hosting. More... | |
| std::string | gameName |
| The name of the game being played on the channel. More... | |
| ChannelId | channelId |
| The channelId of the channel being viewed. More... | |
| ChannelId | hostedChannelId |
| The channelID of the channel being hosted by the viewed channel, or 0 if it is not hosting. More... | |
| GameId | gameId |
| The ID of the game being played on the channel. More... | |
Activity indicating the user is watching a stream.
|
stronginherited |
Enumeration that maps to each possible subclass of PresenceActivity.
| Enumerator | |
|---|---|
| Broadcasting | |
| Watching | |
| Playing | |
| Unknown | |
| ttv::social::WatchingActivity::WatchingActivity | ( | ) |
|
inlineoverridevirtual |
The return value indicates which concrete activity subclass this object is.
Implements ttv::social::PresenceActivity.
| std::string ttv::social::WatchingActivity::channelDisplayName |
The display name of the channel being viewed.
| ChannelId ttv::social::WatchingActivity::channelId |
The channelId of the channel being viewed.
| std::string ttv::social::WatchingActivity::channelLogin |
The login of the channel being viewed.
| GameId ttv::social::WatchingActivity::gameId |
The ID of the game being played on the channel.
| std::string ttv::social::WatchingActivity::gameName |
The name of the game being played on the channel.
| std::string ttv::social::WatchingActivity::hostedChannelDisplayName |
The display name of the channel that is being hosted by the viewed channel, or empty string if it is not hosting.
| ChannelId ttv::social::WatchingActivity::hostedChannelId |
The channelID of the channel being hosted by the viewed channel, or 0 if it is not hosting.
| std::string ttv::social::WatchingActivity::hostedChannelLogin |
The login of a channel that is being hosted by the viewed channel, or empty string if it is not hosting.
1.8.13