This commit is contained in:
启星
2025-08-08 10:49:36 +08:00
parent 6400cf78bb
commit b5ce3d580a
8780 changed files with 978183 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
//
// TUIUserAuthorizationCenter.h
// TUIChat
//
// Created by wyl on 2022/2/16.
// Copyright © 2023 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef NS_OPTIONS(NSUInteger, TUIChatAuthControlType) {
TUIChatAuthControlTypeMicro = 1 << 0,
TUIChatAuthControlTypeCamera = 1 << 1,
TUIChatAuthControlTypePhoto = 1 << 2,
};
@interface TUIUserAuthorizationCenter : NSObject
@property(nonatomic, assign, class, readonly) BOOL isEnableCameraAuthorization;
@property(nonatomic, assign, class, readonly) BOOL isEnableMicroAuthorization;
+ (void)cameraStateActionWithPopCompletion:(void (^)(void))completion API_AVAILABLE(ios(8.0));
+ (void)microStateActionWithPopCompletion:(void (^)(void))completion API_AVAILABLE(ios(8.0));
+ (void)openSettingPage;
+ (void)showAlert:(TUIChatAuthControlType)type;
@end