Twitch SDK (Internal)
java_coreapilistenerproxy.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 
14 
15 
16 namespace ttv
17 {
18  namespace binding
19  {
20  namespace java
21  {
22  class JavaCoreAPIListenerProxy;
23  }
24  }
25 }
26 
27 
29 {
30 public:
31  JavaCoreAPIListenerProxy(jobject jModule);
32 
33 public:
34  virtual void CoreUserLoginComplete(const std::string& oauthToken, UserId userId, TTV_ErrorCode ec) override;
35  virtual void CoreUserLogoutComplete(UserId userId, TTV_ErrorCode ec) override;
36  virtual void CoreUserAuthenticationIssue(UserId userId, const std::string& oauthToken, TTV_ErrorCode ec) override;
37  virtual void CorePubSubStateChanged(UserId userId, PubSubState state, TTV_ErrorCode ec) override;
38 };
uint32_t UserId
Definition: coretypes.h:22
virtual void CorePubSubStateChanged(UserId userId, PubSubState state, TTV_ErrorCode ec) override
Definition: java_nativelistener.h:26
virtual void CoreUserAuthenticationIssue(UserId userId, const std::string &oauthToken, TTV_ErrorCode ec) override
Definition: java_coreapilistenerproxy.h:28
JSON (JavaScript Object Notation).
Definition: adsapi.h:16
uint32_t TTV_ErrorCode
Definition: errortypes.h:30
PubSubState
Definition: coretypes.h:152
virtual void CoreUserLoginComplete(const std::string &oauthToken, UserId userId, TTV_ErrorCode ec) override
virtual void CoreUserLogoutComplete(UserId userId, TTV_ErrorCode ec) override