You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
827 B
38 lines
827 B
// |
|
// TFTencentPermissionsManager.h |
|
// TFReader |
|
// |
|
// Created by 谢腾飞 on 2020/12/4. |
|
// Copyright © 2020 xtfei_2011@126.com. All rights reserved. |
|
// |
|
|
|
#import <Foundation/Foundation.h> |
|
|
|
NS_ASSUME_NONNULL_BEGIN |
|
|
|
typedef NS_ENUM(NSUInteger, TFTencentPermissionsType) { |
|
TFTencentPermissionsTypeLogin, |
|
TFTencentPermissionsTypeBinding |
|
}; |
|
|
|
@protocol TFTencentPermissionsDelegate <NSObject> |
|
@optional |
|
// 登录成功 |
|
- (void)tencentPermissionsSuccess:(TFUserInfoManager *)userData; |
|
|
|
// 登录失败 |
|
- (void)tencentPermissionsFail:(NSString *)error; |
|
@end |
|
|
|
@interface TFTencentPermissionsManager : NSObject |
|
|
|
@property (nonatomic ,weak) id <TFTencentPermissionsDelegate> delegate; |
|
|
|
interface_singleton |
|
|
|
- (void)tencentPermissionsType:(TFTencentPermissionsType)type; |
|
|
|
+ (BOOL)isInstallTencent; |
|
@end |
|
|
|
NS_ASSUME_NONNULL_END
|
|
|