Twitch SDK (Internal)
jni_socialapi.h
Go to the documentation of this file.
1 /* DO NOT EDIT THIS FILE - it is machine generated */
2 #include <jni.h>
3 /* Header for class tv_twitch_social_SocialAPI */
4 
5 #ifndef _Included_tv_twitch_social_SocialAPI
6 #define _Included_tv_twitch_social_SocialAPI
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 /*
11  * Class: tv_twitch_social_SocialAPI
12  * Method: CreateNativeInstance
13  * Signature: ()J
14  */
16  (JNIEnv *, jobject);
17 
18 /*
19  * Class: tv_twitch_social_SocialAPI
20  * Method: DisposeNativeInstance
21  * Signature: (J)V
22  */
24  (JNIEnv *, jobject, jlong);
25 
26 /*
27  * Class: tv_twitch_social_SocialAPI
28  * Method: SetCoreApi
29  * Signature: (JLtv/twitch/CoreAPI;)Ltv/twitch/ErrorCode;
30  */
31 JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_SetCoreApi
32  (JNIEnv *, jobject, jlong, jobject);
33 
34 /*
35  * Class: tv_twitch_social_SocialAPI
36  * Method: SetEnabledFeatures
37  * Signature: (JLtv/twitch/social/SocialFeatureFlags;)Ltv/twitch/ErrorCode;
38  */
40  (JNIEnv *, jobject, jlong, jobject);
41 
42 /*
43  * Class: tv_twitch_social_SocialAPI
44  * Method: SetListener
45  * Signature: (JLtv/twitch/social/ISocialAPIListener;)Ltv/twitch/ErrorCode;
46  */
47 JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_SetListener
48  (JNIEnv *, jobject, jlong, jobject);
49 
50 /*
51  * Class: tv_twitch_social_SocialAPI
52  * Method: GetState
53  * Signature: (J)Ltv/twitch/ModuleState;
54  */
55 JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_GetState
56  (JNIEnv *, jobject, jlong);
57 
58 /*
59  * Class: tv_twitch_social_SocialAPI
60  * Method: GetModuleName
61  * Signature: (J)Ljava/lang/String;
62  */
63 JNIEXPORT jstring JNICALL Java_tv_twitch_social_SocialAPI_GetModuleName
64  (JNIEnv *, jobject, jlong);
65 
66 /*
67  * Class: tv_twitch_social_SocialAPI
68  * Method: Initialize
69  * Signature: (JLtv/twitch/IModule/InitializeCallback;)Ltv/twitch/ErrorCode;
70  */
71 JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_Initialize
72  (JNIEnv *, jobject, jlong, jobject);
73 
74 /*
75  * Class: tv_twitch_social_SocialAPI
76  * Method: Shutdown
77  * Signature: (JLtv/twitch/IModule/ShutdownCallback;)Ltv/twitch/ErrorCode;
78  */
79 JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_Shutdown
80  (JNIEnv *, jobject, jlong, jobject);
81 
82 /*
83  * Class: tv_twitch_social_SocialAPI
84  * Method: Update
85  * Signature: (J)Ltv/twitch/ErrorCode;
86  */
87 JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_Update
88  (JNIEnv *, jobject, jlong);
89 
90 /*
91  * Class: tv_twitch_social_SocialAPI
92  * Method: SetPresenceSessionAvailability
93  * Signature: (JILtv/twitch/social/SocialPresenceSessionAvailability;)Ltv/twitch/ErrorCode;
94  */
96  (JNIEnv *, jobject, jlong, jint, jobject);
97 
98 /*
99  * Class: tv_twitch_social_SocialAPI
100  * Method: AddWatchingActivity
101  * Signature: (JIILtv/twitch/ResultContainer;)Ltv/twitch/ErrorCode;
102  */
104  (JNIEnv *, jobject, jlong, jint, jint, jobject);
105 
106 /*
107  * Class: tv_twitch_social_SocialAPI
108  * Method: AddPlayingActivity
109  * Signature: (JIILjava/lang/String;Ltv/twitch/ResultContainer;)Ltv/twitch/ErrorCode;
110  */
112  (JNIEnv *, jobject, jlong, jint, jint, jstring, jobject);
113 
114 /*
115  * Class: tv_twitch_social_SocialAPI
116  * Method: RemoveActivity
117  * Signature: (JII)Ltv/twitch/ErrorCode;
118  */
119 JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_RemoveActivity
120  (JNIEnv *, jobject, jlong, jint, jint);
121 
122 /*
123  * Class: tv_twitch_social_SocialAPI
124  * Method: PostPresence
125  * Signature: (JILtv/twitch/social/SocialAPI/PostPresenceCallback;)Ltv/twitch/ErrorCode;
126  */
127 JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_PostPresence
128  (JNIEnv *, jobject, jlong, jint, jobject);
129 
130 /*
131  * Class: tv_twitch_social_SocialAPI
132  * Method: FetchPresenceSettings
133  * Signature: (JILtv/twitch/social/SocialAPI/FetchPresenceSettingsCallback;)Ltv/twitch/ErrorCode;
134  */
136  (JNIEnv *, jobject, jlong, jint, jobject);
137 
138 /*
139  * Class: tv_twitch_social_SocialAPI
140  * Method: SetPresenceSettings
141  * Signature: (JILtv/twitch/social/SocialPresenceSettings;Ltv/twitch/social/SocialAPI/SetPresenceSettingsCallback;)Ltv/twitch/ErrorCode;
142  */
144  (JNIEnv *, jobject, jlong, jint, jobject, jobject);
145 
146 /*
147  * Class: tv_twitch_social_SocialAPI
148  * Method: SetAutomaticPresencePostingEnabled
149  * Signature: (JIZ)Ltv/twitch/ErrorCode;
150  */
152  (JNIEnv *, jobject, jlong, jint, jboolean);
153 
154 /*
155  * Class: tv_twitch_social_SocialAPI
156  * Method: GetAutomaticPresencePostingEnabled
157  * Signature: (JILtv/twitch/ResultContainer;)Ltv/twitch/ErrorCode;
158  */
160  (JNIEnv *, jobject, jlong, jint, jobject);
161 
162 /*
163  * Class: tv_twitch_social_SocialAPI
164  * Method: FetchFriendList
165  * Signature: (JILtv/twitch/social/SocialAPI/FetchFriendListCallback;)Ltv/twitch/ErrorCode;
166  */
167 JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_FetchFriendList
168  (JNIEnv *, jobject, jlong, jint, jobject);
169 
170 /*
171  * Class: tv_twitch_social_SocialAPI
172  * Method: UpdateFriendship
173  * Signature: (JIILtv/twitch/social/SocialUpdateFriendAction;Ltv/twitch/social/SocialAPI/UpdateFriendshipCallback;)Ltv/twitch/ErrorCode;
174  */
175 JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_UpdateFriendship
176  (JNIEnv *, jobject, jlong, jint, jint, jobject, jobject);
177 
178 /*
179  * Class: tv_twitch_social_SocialAPI
180  * Method: FetchFriendRequests
181  * Signature: (JILtv/twitch/social/SocialAPI/FetchFriendRequestsCallback;)Ltv/twitch/ErrorCode;
182  */
184  (JNIEnv *, jobject, jlong, jint, jobject);
185 
186 /*
187  * Class: tv_twitch_social_SocialAPI
188  * Method: FetchUnreadFriendRequestCount
189  * Signature: (JILtv/twitch/social/SocialAPI/FetchUnreadFriendRequestCountCallback;)Ltv/twitch/ErrorCode;
190  */
192  (JNIEnv *, jobject, jlong, jint, jobject);
193 
194 /*
195  * Class: tv_twitch_social_SocialAPI
196  * Method: MarkAllFriendRequestsRead
197  * Signature: (JILtv/twitch/social/SocialAPI/MarkAllFriendRequestsReadCallback;)Ltv/twitch/ErrorCode;
198  */
200  (JNIEnv *, jobject, jlong, jint, jobject);
201 
202 /*
203  * Class: tv_twitch_social_SocialAPI
204  * Method: FetchRecommendedFriends
205  * Signature: (JILtv/twitch/social/SocialAPI/FetchRecommendedFriendsCallback;)Ltv/twitch/ErrorCode;
206  */
208  (JNIEnv *, jobject, jlong, jint, jobject);
209 
210 /*
211  * Class: tv_twitch_social_SocialAPI
212  * Method: DismissRecommendedFriend
213  * Signature: (JIILtv/twitch/social/SocialAPI/DismissRecommendedFriendCallback;)Ltv/twitch/ErrorCode;
214  */
216  (JNIEnv *, jobject, jlong, jint, jint, jobject);
217 
218 /*
219  * Class: tv_twitch_social_SocialAPI
220  * Method: FetchFriendStatus
221  * Signature: (JIILtv/twitch/social/SocialAPI/FetchFriendStatusCallback;)Ltv/twitch/ErrorCode;
222  */
224  (JNIEnv *, jobject, jlong, jint, jint, jobject);
225 
226 #ifdef __cplusplus
227 }
228 #endif
229 #endif
230 /* Header for class tv_twitch_social_SocialAPI_DismissRecommendedFriendCallback */
231 
232 #ifndef _Included_tv_twitch_social_SocialAPI_DismissRecommendedFriendCallback
233 #define _Included_tv_twitch_social_SocialAPI_DismissRecommendedFriendCallback
234 #ifdef __cplusplus
235 extern "C" {
236 #endif
237 #ifdef __cplusplus
238 }
239 #endif
240 #endif
241 /* Header for class tv_twitch_social_SocialAPI_FetchFriendListCallback */
242 
243 #ifndef _Included_tv_twitch_social_SocialAPI_FetchFriendListCallback
244 #define _Included_tv_twitch_social_SocialAPI_FetchFriendListCallback
245 #ifdef __cplusplus
246 extern "C" {
247 #endif
248 #ifdef __cplusplus
249 }
250 #endif
251 #endif
252 /* Header for class tv_twitch_social_SocialAPI_FetchFriendRequestsCallback */
253 
254 #ifndef _Included_tv_twitch_social_SocialAPI_FetchFriendRequestsCallback
255 #define _Included_tv_twitch_social_SocialAPI_FetchFriendRequestsCallback
256 #ifdef __cplusplus
257 extern "C" {
258 #endif
259 #ifdef __cplusplus
260 }
261 #endif
262 #endif
263 /* Header for class tv_twitch_social_SocialAPI_FetchFriendStatusCallback */
264 
265 #ifndef _Included_tv_twitch_social_SocialAPI_FetchFriendStatusCallback
266 #define _Included_tv_twitch_social_SocialAPI_FetchFriendStatusCallback
267 #ifdef __cplusplus
268 extern "C" {
269 #endif
270 #ifdef __cplusplus
271 }
272 #endif
273 #endif
274 /* Header for class tv_twitch_social_SocialAPI_FetchPresenceSettingsCallback */
275 
276 #ifndef _Included_tv_twitch_social_SocialAPI_FetchPresenceSettingsCallback
277 #define _Included_tv_twitch_social_SocialAPI_FetchPresenceSettingsCallback
278 #ifdef __cplusplus
279 extern "C" {
280 #endif
281 #ifdef __cplusplus
282 }
283 #endif
284 #endif
285 /* Header for class tv_twitch_social_SocialAPI_FetchRecommendedFriendsCallback */
286 
287 #ifndef _Included_tv_twitch_social_SocialAPI_FetchRecommendedFriendsCallback
288 #define _Included_tv_twitch_social_SocialAPI_FetchRecommendedFriendsCallback
289 #ifdef __cplusplus
290 extern "C" {
291 #endif
292 #ifdef __cplusplus
293 }
294 #endif
295 #endif
296 /* Header for class tv_twitch_social_SocialAPI_FetchUnreadFriendRequestCountCallback */
297 
298 #ifndef _Included_tv_twitch_social_SocialAPI_FetchUnreadFriendRequestCountCallback
299 #define _Included_tv_twitch_social_SocialAPI_FetchUnreadFriendRequestCountCallback
300 #ifdef __cplusplus
301 extern "C" {
302 #endif
303 #ifdef __cplusplus
304 }
305 #endif
306 #endif
307 /* Header for class tv_twitch_social_SocialAPI_MarkAllFriendRequestsReadCallback */
308 
309 #ifndef _Included_tv_twitch_social_SocialAPI_MarkAllFriendRequestsReadCallback
310 #define _Included_tv_twitch_social_SocialAPI_MarkAllFriendRequestsReadCallback
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314 #ifdef __cplusplus
315 }
316 #endif
317 #endif
318 /* Header for class tv_twitch_social_SocialAPI_PostPresenceCallback */
319 
320 #ifndef _Included_tv_twitch_social_SocialAPI_PostPresenceCallback
321 #define _Included_tv_twitch_social_SocialAPI_PostPresenceCallback
322 #ifdef __cplusplus
323 extern "C" {
324 #endif
325 #ifdef __cplusplus
326 }
327 #endif
328 #endif
329 /* Header for class tv_twitch_social_SocialAPI_SetPresenceSettingsCallback */
330 
331 #ifndef _Included_tv_twitch_social_SocialAPI_SetPresenceSettingsCallback
332 #define _Included_tv_twitch_social_SocialAPI_SetPresenceSettingsCallback
333 #ifdef __cplusplus
334 extern "C" {
335 #endif
336 #ifdef __cplusplus
337 }
338 #endif
339 #endif
340 /* Header for class tv_twitch_social_SocialAPI_UpdateFriendshipCallback */
341 
342 #ifndef _Included_tv_twitch_social_SocialAPI_UpdateFriendshipCallback
343 #define _Included_tv_twitch_social_SocialAPI_UpdateFriendshipCallback
344 #ifdef __cplusplus
345 extern "C" {
346 #endif
347 #ifdef __cplusplus
348 }
349 #endif
350 #endif
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_Update(JNIEnv *, jobject, jlong)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_FetchPresenceSettings(JNIEnv *, jobject, jlong, jint, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_GetAutomaticPresencePostingEnabled(JNIEnv *, jobject, jlong, jint, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_SetCoreApi(JNIEnv *, jobject, jlong, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_GetState(JNIEnv *, jobject, jlong)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_DismissRecommendedFriend(JNIEnv *, jobject, jlong, jint, jint, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_MarkAllFriendRequestsRead(JNIEnv *, jobject, jlong, jint, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_FetchFriendList(JNIEnv *, jobject, jlong, jint, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_FetchFriendStatus(JNIEnv *, jobject, jlong, jint, jint, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_PostPresence(JNIEnv *, jobject, jlong, jint, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_FetchRecommendedFriends(JNIEnv *, jobject, jlong, jint, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_FetchUnreadFriendRequestCount(JNIEnv *, jobject, jlong, jint, jobject)
JNIEXPORT void JNICALL Java_tv_twitch_social_SocialAPI_DisposeNativeInstance(JNIEnv *, jobject, jlong)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_RemoveActivity(JNIEnv *, jobject, jlong, jint, jint)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_FetchFriendRequests(JNIEnv *, jobject, jlong, jint, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_SetPresenceSessionAvailability(JNIEnv *, jobject, jlong, jint, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_SetListener(JNIEnv *, jobject, jlong, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_SetPresenceSettings(JNIEnv *, jobject, jlong, jint, jobject, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_AddPlayingActivity(JNIEnv *, jobject, jlong, jint, jint, jstring, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_Shutdown(JNIEnv *, jobject, jlong, jobject)
JNIEXPORT jlong JNICALL Java_tv_twitch_social_SocialAPI_CreateNativeInstance(JNIEnv *, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_UpdateFriendship(JNIEnv *, jobject, jlong, jint, jint, jobject, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_AddWatchingActivity(JNIEnv *, jobject, jlong, jint, jint, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_Initialize(JNIEnv *, jobject, jlong, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_SetEnabledFeatures(JNIEnv *, jobject, jlong, jobject)
JNIEXPORT jobject JNICALL Java_tv_twitch_social_SocialAPI_SetAutomaticPresencePostingEnabled(JNIEnv *, jobject, jlong, jint, jboolean)
JNIEXPORT jstring JNICALL Java_tv_twitch_social_SocialAPI_GetModuleName(JNIEnv *, jobject, jlong)