首次提交

This commit is contained in:
启星
2025-09-22 18:48:29 +08:00
parent 28ae935e93
commit ae9be0b58e
8941 changed files with 999209 additions and 2 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