HIVE SDK for iOS

HIVEAuthV4Helper.h
Go to the documentation of this file.
1 //
2 // HIVEAuthV4Helper.h
3 // Hive_v2_source
4 //
5 // Created by jhjang on 2018. 2. 8..
6 // Copyright © 2018년 GCP. All rights reserved.
7 //
39 #import <UIKit/UIKit.h>
40 #import "HIVEAuthV4.h"
41 
42 
43 // MARK: typedef
228 typedef void (^HIVEAuthV4HelperHandler) (HIVEResultAPI *result, HIVEPlayerInfo *playerInfo);
229 
230 
231 // MARK: HIVEConflictSingleViewInfo
240 @interface HIVEConflictSingleViewInfo: NSObject
241 
242 @property (nonatomic, readonly) NSMutableDictionary *playerData;
243 
244 - (id)initWithPlayerId:(int64_t)playerId;
245 
246 - (void) setPlayerId:(int64_t)value;
247 - (void) setValue:(NSString *)key doubleValue:(double)value;
248 - (void) setValue:(NSString *)key stringValue:(NSString *)value;
249 - (void) setValue:(NSString *)key intValue:(int)value;
250 
251 @end
252 
253 
254 // MARK: HIVEAuthV4Helper
275 @interface HIVEAuthV4Helper : NSObject
276 
277 // MARK: Main interfaces
375 - (void)syncAccount:(HIVEProviderType)providerType handler:(HIVEAuthV4HelperHandler)handler;
376 
490 - (void)signIn:(HIVEAuthV4HelperHandler)handler;
491 
561 - (void)signOut:(HIVEAuthV4HelperHandler)handler;
562 
663 - (void)connect:(HIVEProviderType)providerType handler:(HIVEAuthV4HelperHandler)handler;
664 
745 - (void)disconnect:(HIVEProviderType)providerType handler:(HIVEAuthV4HelperHandler)handler;
746 
853 - (void)showLeaderboard:(HIVEAuthV4HelperHandler)handler;
854 
963 - (void)showAchievements:(HIVEAuthV4HelperHandler)handler;
964 
965 
966 // MARK: Support interfaces
985 - (void)showGameCenterLoginCancelDialog:(HIVEAuthV4DialogDismissHandler)handler;
986 
1047 - (void)showConflict:(HIVEAuthV4HelperHandler)handler;
1048 
1115 - (void)showConflict:(HIVEConflictSingleViewInfo *)conflictData handler:(HIVEAuthV4HelperHandler)handler;
1116 
1117 
1160 - (void)switchAccount:(HIVEAuthV4HelperHandler)handler;
1161 
1205 - (void)resolveConflict:(HIVEAuthV4HelperHandler)handler;
1206 
1219 - (NSArray *)getIDPList;
1220 
1221 @end
1222 
void(^ HIVEAuthV4HelperHandler)(HIVEResultAPI *result, HIVEPlayerInfo *playerInfo)
AuthV4Helper API request result callback.
Definition: HIVEAuthV4Helper.h:228
Sign-in User Information it includes user&#39;s tocken and DID value along with ProfileInfo.
Definition: HIVEAuthV4.h:581
API 호출에 대한 결과를 담는 클래스
Definition: HIVEResultAPI.h:25
Provides advanced features of HIVE Authentication.
Definition: HIVEAuthV4Helper.h:275
The class showing the conflicted account&#39;s game data when user accounts conflict ...
Definition: HIVEAuthV4Helper.h:240
NSArray * getIDPList()
Receives the Provider lists sent by SDK.
Definition: HIVEAuthV4Helper.m:289
void(^ HIVEAuthV4DialogDismissHandler)(BOOL isDismiss)
AuthV4 Result callback after Game Center login pops up
Definition: HIVEAuthV4.h:521
Copyright © GAMEVIL COM2US PLATFORM Inc. All Right Reserved. Terms of Use Privacy Policy