text: //
  //  YLPrivacyPermissionCamera.h
  //  YLPrivacyPermission
  //
  //  Created by xyanl on 2020/11/9.
  //
  
  #import <Foundation/Foundation.h>
  #import <AVFoundation/AVFoundation.h>
  
  NS_ASSUME_NONNULL_BEGIN
  
  @interface YLPrivacyPermissionCamera : NSObject
  
  + (BOOL)authorized;
  
  + (AVAuthorizationStatus)authorizationStatus;
  
  + (void)authorizeWithCompletion:(void(^)(BOOL granted ,BOOL firstTime ))completion;
  /// 当前隐私许可状态描述
  + (NSString *)authorizationStatusDescribe;
  
  @end
  
  NS_ASSUME_NONNULL_END
  