|
Twitch SDK (Internal)
|
#include <setstreaminfotask.h>
Classes | |
| struct | Result |
Public Types | |
| typedef std::function< void(SetStreamInfoTask *source, TTV_ErrorCode ec, const std::shared_ptr< Result > &result)> | Callback |
| typedef TTV_TaskCallback | TaskCallback |
Public Member Functions | |
| SetStreamInfoTask (ChannelId channelId, const std::string &oauthToken, const std::string &streamTitle, const std::string &gameName, Callback callback) | |
| virtual const char * | GetTaskName () const override |
| virtual void | Run () override |
| virtual void | Abort () |
Protected Member Functions | |
| virtual void | FillHttpRequestInfo (HttpRequestInfo &requestInfo) override |
| virtual void | OnComplete () override |
| virtual bool | HeadersCallback (uint statusCode, const std::map< std::string, std::string > &headers) |
| virtual void | ResponseCallback (uint statusCode, const std::vector< char > &response) |
| virtual bool | ProcessHeaders (uint statusCode, const std::map< std::string, std::string > &headers) |
| virtual void | ProcessResponse (uint statusCode, const std::vector< char > &response) |
Static Protected Member Functions | |
| static bool | Is2XX (uint32_t statusCode) |
| static bool | Is3XX (uint32_t statusCode) |
| static bool | Is4XX (uint32_t statusCode) |
Protected Attributes | |
| TTV_ErrorCode | mTaskStatus |
| void * | mUserData |
| std::atomic_bool | mAborted |
Private Attributes | |
| std::shared_ptr< Result > | mResult |
| Callback | mCallback |
| ChannelId | mChannelId |
| std::string | mStreamTitle |
| std::string | mGameName |
Sets the stream title and game name for a channel.
| struct ttv::broadcast::SetStreamInfoTask::Result |
| typedef std::function<void(SetStreamInfoTask* source, TTV_ErrorCode ec, const std::shared_ptr<Result>& result)> ttv::broadcast::SetStreamInfoTask::Callback |
|
inherited |
| ttv::broadcast::SetStreamInfoTask::SetStreamInfoTask | ( | ChannelId | channelId, |
| const std::string & | oauthToken, | ||
| const std::string & | streamTitle, | ||
| const std::string & | gameName, | ||
| Callback | callback | ||
| ) |
|
virtualinherited |
|
overrideprotectedvirtual |
Implements ttv::HttpTask.
|
inlineoverridevirtual |
Implements ttv::Task.
|
protectedvirtualinherited |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
overrideprotectedvirtual |
Reimplemented from ttv::HttpTask.
|
protectedvirtualinherited |
|
protectedvirtualinherited |
Reimplemented in ttv::social::SocialFriendRequestsTask, ttv::social::SocialRecommendedFriendsTask, ttv::chat::ChatGetDisplayInfoTask, ttv::chat::ChatReplayTask, ttv::social::SocialUpdateFriendTask, ttv::ads::FetchAdsTask, ttv::chat::ChatRaidTask, ttv::broadcast::GameStreamsTask, ttv::social::SocialGetFriendsPresenceTask, ttv::chat::ChatPropertiesTask, ttv::chat::ChatChannelUsersTask, ttv::chat::ChatGetBlockListTask, ttv::chat::ChatGetBadgesTask, ttv::social::SocialPostPresenceTask, ttv::chat::ChatGetBitsConfigTask, ttv::chat::ChatGetEmoticonsTask, ttv::broadcast::ChannelInfoTask, ttv::broadcast::MatchGameNamesTask, ttv::broadcast::RecordingStatusTask, ttv::social::SocialPresenceSettingsTask, ttv::broadcast::IngestListTask, ttv::chat::ChatRoomUpdateInfoTask, ttv::chat::ChatRoomUpdateViewTask, ttv::SimpleJsonHttpTask, ttv::chat::ChatRoomFetchMessagesTask, ttv::GetStreamTask, ttv::chat::ChatModUserTask, ttv::chat::ChatRoomUpdateModeTask, ttv::GetChannelTask, ttv::GetUserTask, ttv::chat::ChatBanUserTask, ttv::ValidateOAuthTask, ttv::chat::ChatAddNewRoomTask, ttv::chat::ChatFetchChannelModeratorsTask, ttv::chat::ChatFetchChannelRoomsTask, ttv::chat::ChatRoomDeleteMessageTask, ttv::chat::ChatRoomDeleteRoomTask, ttv::chat::ChatRoomEditMessageTask, ttv::chat::ChatRoomFetchInfoTask, ttv::chat::ChatRoomJoinChannelTask, ttv::chat::ChatRoomLeaveChannelTask, ttv::chat::ChatRoomSendMessageTask, ttv::chat::ChatUnbanUserTask, ttv::chat::ChatUpdateColorTask, ttv::GetProfileImageUrlTask, ttv::GetVodTask, ttv::UploadProfileImageTask, ttv::experiment::FetchExperimentsTask, and ttv::tracking::TrackingRequestTask.
|
protectedvirtualinherited |
|
overridevirtualinherited |
Implements ttv::Task.
|
protectedinherited |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protectedinherited |
|
protectedinherited |
1.8.13