Twitch SDK (Internal)
corelistener.h
Go to the documentation of this file.
1 /********************************************************************************************
2 * Twitch Broadcasting SDK
3 *
4 * This software is supplied under the terms of a license agreement with Twitch Interactive, Inc. and
5 * may not be copied or used except in accordance with the terms of that agreement
6 * Copyright (c) 2012-2016 Twitch Interactive, Inc.
7 *********************************************************************************************/
8 
9 #pragma once
10 
13 #include "twitchsdk/core/module.h"
14 
15 #include <vector>
16 #include <memory>
17 
18 
19 namespace ttv
20 {
21  class ICoreAPIListener;
22 }
23 
24 
25 
27 {
28 public:
32  virtual void CoreUserLoginComplete(const std::string& oauthToken, UserId userId, TTV_ErrorCode ec) = 0;
36  virtual void CoreUserLogoutComplete(UserId userId, TTV_ErrorCode ec) = 0;
40  virtual void CoreUserAuthenticationIssue(UserId userId, const std::string& oauthToken, TTV_ErrorCode ec) = 0;
41 
42  virtual void CorePubSubStateChanged(UserId userId, PubSubState state, TTV_ErrorCode ec) = 0;
43 };
uint32_t UserId
Definition: coretypes.h:22
JSON (JavaScript Object Notation).
Definition: adsapi.h:16
Definition: module.h:153
virtual void CoreUserLogoutComplete(UserId userId, TTV_ErrorCode ec)=0
virtual void CoreUserLoginComplete(const std::string &oauthToken, UserId userId, TTV_ErrorCode ec)=0
virtual void CorePubSubStateChanged(UserId userId, PubSubState state, TTV_ErrorCode ec)=0
uint32_t TTV_ErrorCode
Definition: errortypes.h:30
PubSubState
Definition: coretypes.h:152
Definition: corelistener.h:26
virtual void CoreUserAuthenticationIssue(UserId userId, const std::string &oauthToken, TTV_ErrorCode ec)=0