2021-04-07 16:20:41 +08:00
|
|
|
//
|
|
|
|
// TDSCommonService.h
|
|
|
|
// TDSCommon
|
|
|
|
//
|
|
|
|
// Created by TapTap-David on 2020/11/10.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
@interface TDSCommonService : NSObject
|
2021-06-30 14:54:23 +08:00
|
|
|
|
|
|
|
+ (void)setXUA:(NSString*)json;
|
|
|
|
|
2021-04-07 16:20:41 +08:00
|
|
|
+ (void)getRegionCode:(void (^)(NSString *result))callback;
|
2021-05-27 14:19:38 +08:00
|
|
|
|
|
|
|
+ (void)isTapTapInstalled:(void (^)(NSString *result))callback;
|
|
|
|
|
|
|
|
+ (void)isTapGlobalInstalled:(void (^)(NSString *result))callback;
|
|
|
|
|
2021-07-20 19:11:00 +08:00
|
|
|
+ (void)preferredLanguage:(NSNumber *)language;
|
|
|
|
|
2021-04-07 16:20:41 +08:00
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|