// // XSCollector.h // XenonSDK // // Created by SAGESSE on 2019/5/30. // Copyright © 2019 SAGESSE. All rights reserved. // #import @interface XSCollector : NSObject - (instancetype)initWithAppId:(id)appId gameId:(id)gameId; @property (nonatomic, class) XSCollector* shared; @property (nonatomic, readonly) NSString* identifer; /// Register a user for data analyzer. - (void)registerWithAccount:(NSString*)account name:(NSString*)name; /// Login a user for data analyzer. - (void)loginWithAccount:(NSString*)account name:(NSString*)name; /// Update account. - (void)reportWithAccount:(NSString*)account name:(NSString*)name level:(NSInteger)level server:(NSString*)sever; @end