Declared in SGSScanUtil.h

SGSCaptureSessionState

Note: 之后可能会将该枚举类型用于拍照、录制视频等

Definition

typedef NS_ENUM(NSInteger, SGSCaptureSessionState ) {
   SGSCaptureSessionStateConfigurationCompleted = 0,
   SGSCaptureSessionStateNotAuthorized = 1,
   SGSCaptureSessionStateConfigurationFailed = 2,
};

Constants

SGSCaptureSessionStateConfigurationCompleted

摄像头状态,在调用相机服务时,用以区分配置状况及权限状况等

SGSScanUtil.h.

SGSCaptureSessionStateNotAuthorized

摄像头状态,在调用相机服务时,用以区分配置状况及权限状况等

SGSScanUtil.h.

SGSCaptureSessionStateConfigurationFailed

摄像头状态,在调用相机服务时,用以区分配置状况及权限状况等

SGSScanUtil.h.

Declared In

SGSScanUtil.h