Twitch SDK (Internal)
java_socialapilistenerproxy.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  using namespace ttv::social;
19 
20  namespace binding
21  {
22  namespace java
23  {
24  class JavaSocialAPIListenerProxy;
25  }
26  }
27 }
28 
29 
31 {
32 public:
33  JavaSocialAPIListenerProxy(jobject jModule);
34 
35 public:
36  virtual void SocialFriendInfoChanged(UserId userId, const std::vector<Friend>& changes) override;
37  virtual void SocialFriendshipChanged(UserId userId, const std::vector<Friend>& added, const std::vector<Friend>& removed) override;
38  virtual void SocialRealtimeFriendRequestReceived(UserId userId, const FriendRequest& requestList) override;
39  virtual void SocialUnreadFriendRequestCountChanged(UserId userId, uint32_t count) override;
40  virtual void SocialFriendRequestRemoved(UserId userId, UserId otherUserId, FriendRequestRemovalReason reason) override;
41  virtual void SocialPresenceSettingsChanged(UserId userId, const PresenceSettings& settings) override;
42 };
uint32_t UserId
Definition: coretypes.h:22
Definition: java_nativelistener.h:26
Definition: java_socialapilistenerproxy.h:30
FriendRequestRemovalReason
Definition: socialtypes.h:282
Definition: socialtypes.h:62
JSON (JavaScript Object Notation).
Definition: adsapi.h:16
Definition: socialtypes.h:358
Definition: friendlist.h:35