Twitch SDK (Internal)
Public Member Functions | List of all members
ttv::IUserListener Class Referenceabstract

#include <userlistener.h>

Inheritance diagram for ttv::IUserListener:
ttv::CoreAPI::UserListener ttv::UserComponent::UserListener

Public Member Functions

virtual void OnUserLogInComplete (User *source, TTV_ErrorCode ec)=0
 
virtual void OnUserLogOutComplete (User *source, TTV_ErrorCode ec)=0
 
virtual void OnUserInfoFetchComplete (User *source, TTV_ErrorCode ec)=0
 
virtual void OnUserAuthenticationIssue (User *source, std::shared_ptr< const OAuthToken > oauthToken, TTV_ErrorCode ec)=0
 

Member Function Documentation

◆ OnUserAuthenticationIssue()

virtual void ttv::IUserListener::OnUserAuthenticationIssue ( User source,
std::shared_ptr< const OAuthToken oauthToken,
TTV_ErrorCode  ec 
)
pure virtual

The async event for when a user's OAuth token has been determined to be insufficient for accessing a resource.

Implemented in ttv::CoreAPI::UserListener, and ttv::UserComponent::UserListener.

◆ OnUserInfoFetchComplete()

virtual void ttv::IUserListener::OnUserInfoFetchComplete ( User source,
TTV_ErrorCode  ec 
)
pure virtual

The async response for a fetch of the user info.

Implemented in ttv::CoreAPI::UserListener, and ttv::UserComponent::UserListener.

◆ OnUserLogInComplete()

virtual void ttv::IUserListener::OnUserLogInComplete ( User source,
TTV_ErrorCode  ec 
)
pure virtual

The async response for a call to set or update the user's OAuth token.

Implemented in ttv::CoreAPI::UserListener, and ttv::UserComponent::UserListener.

◆ OnUserLogOutComplete()

virtual void ttv::IUserListener::OnUserLogOutComplete ( User source,
TTV_ErrorCode  ec 
)
pure virtual

The async response for a request to log the user out.

Implemented in ttv::CoreAPI::UserListener, and ttv::UserComponent::UserListener.


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