酷店

UTAnalytics.h 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. //
  2. // UTAnalytics.h
  3. // miniUTInterface
  4. //
  5. // Created by 宋军 on 14-10-14.
  6. // Copyright (c) 2014年 ___SONGJUN___. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "UTTracker.h"
  10. #import "UTIRequestAuthentication.h"
  11. #import "UTICrashCaughtListener.h"
  12. @interface UTAnalytics : NSObject
  13. +(UTAnalytics *) getInstance;
  14. + (void)setDailyEnvironment;
  15. - (void)setAppKey:(NSString *)appKey secret:(NSString *)secret;
  16. -(void) setAppVersion:(NSString *) pAppVersion;
  17. -(void) setChannel:(NSString *) pChannel;
  18. -(void) updateUserAccount:(NSString *) pNick userid:(NSString *) pUserId;
  19. -(void) userRegister:(NSString *) pUsernick;
  20. -(void) updateSessionProperties:(NSDictionary *) pDict;
  21. -(UTTracker *) getDefaultTracker;
  22. -(UTTracker *) getTracker:(NSString *) pTrackId;
  23. -(void) turnOnDebug;
  24. -(void) turnOnDev;
  25. // 以下接口功能已废弃,接口保留
  26. -(void) setRequestAuthentication:(id<UTIRequestAuthentication>) pRequestAuth;
  27. - (void)onCrashHandler;
  28. -(void) turnOffCrashHandler;
  29. -(void) setCrashCaughtListener:(id<UTICrashCaughtListener>) aListener;
  30. @end