|
Twitch SDK (Internal)
|
Classes | |
| struct | BroadcastingActivity |
| struct | FeatureFlags |
| struct | Friend |
| class | FriendList |
| class | FriendListListenerProxy |
| struct | FriendRequest |
| class | ISocialAPIListener |
| struct | PlayingActivity |
| class | Presence |
| struct | PresenceActivity |
| class | PresenceListenerProxy |
| struct | PresenceSettings |
| struct | PresenceStatus |
| class | SocialAPI |
| class | SocialFriendRequestsTask |
| class | SocialGetFriendsPresenceTask |
| class | SocialPostPresenceTask |
| class | SocialPresenceSettingsTask |
| class | SocialRecommendedFriendsTask |
| class | SocialUpdateFriendTask |
| struct | WatchingActivity |
Typedefs | |
| using | PresenceActivityToken = uint32_t |
Functions | |
| bool | ParsePresenceUserAvailability (const std::string &str, PresenceUserAvailability &result) |
| bool | ParsePresenceSettingsAvailabilityOverride (const std::string &str, PresenceSettings::AvailabilityOverride &result) |
| TTV_ErrorCode | GenerateActivityJson (const PresenceActivity &activity, json::Value &value) |
| TTV_ErrorCode | CreatePresenceActivity (const json::Value &jObject, std::unique_ptr< PresenceActivity > &activity) |
| TTV_ErrorCode | ToErrorCode (TTV_SocialErrorId errorId) |
| const char * | SocialErrorToString (TTV_ErrorCode ec) |
| void | GetSocialErrorCodeValues (std::vector< EnumValue > &result) |
| using ttv::social::PresenceActivityToken = typedef uint32_t |
A unique token that is associated with an added presence activity. This is vended by the API when adding an activity, and the client passes this in when removing the activity.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
The outcome of a given friendship update.
| TTV_ErrorCode ttv::social::CreatePresenceActivity | ( | const json::Value & | jObject, |
| std::unique_ptr< PresenceActivity > & | activity | ||
| ) |
| TTV_ErrorCode ttv::social::GenerateActivityJson | ( | const PresenceActivity & | activity, |
| json::Value & | value | ||
| ) |
| void ttv::social::GetSocialErrorCodeValues | ( | std::vector< EnumValue > & | result | ) |
| bool ttv::social::ParsePresenceSettingsAvailabilityOverride | ( | const std::string & | str, |
| PresenceSettings::AvailabilityOverride & | result | ||
| ) |
| bool ttv::social::ParsePresenceUserAvailability | ( | const std::string & | str, |
| PresenceUserAvailability & | result | ||
| ) |
| const char* ttv::social::SocialErrorToString | ( | TTV_ErrorCode | ec | ) |
The error code string lookup for social. This is not normally used directly by clients. Use ttv::ErrorToString() instead.
|
inline |
Converts a strongly typed TTV_SocialErrorId to TTV_ErrorCode so it can be handled generically.
1.8.13