GeeV2PFCameraOptions Class Reference
Inherits from | TuSDKCPResultOptions |
---|---|
Declared in | GeeV2PFCameraOptions.h |
viewClazz
视图类 (默认:GeeV2PFCameraView, 需要继承 GeeV2PFCameraView)
@property (nonatomic, strong) Class viewClazz
Declared In
GeeV2PFCameraOptions.h
configBarViewClazz
默认相机控制栏视图类 (默认:GeeV2PFCameraConfigView, 需要继承 GeeV2PFCameraConfigView)
@property (nonatomic, strong) Class configBarViewClazz
Declared In
GeeV2PFCameraOptions.h
bottomBarViewClazz
默认相机底部栏视图类 (默认:GeeV2PFCameraBottomView, 需要继承 GeeV2PFCameraBottomView)
@property (nonatomic, strong) Class bottomBarViewClazz
Declared In
GeeV2PFCameraOptions.h
flashViewClazz
闪光灯视图类 (默认:GeeV2PFCameraFlashView, 需要继承 GeeV2PFCameraFlashView)
@property (nonatomic, strong) Class flashViewClazz
Declared In
GeeV2PFCameraOptions.h
filterViewClazz
滤镜视图类 (默认:TuSDKPFCameraFilterGroupView, 需要继承 TuSDKPFCameraFilterGroupView)
@property (nonatomic, strong) Class filterViewClazz
Declared In
GeeV2PFCameraOptions.h
focusTouchViewClazz
聚焦触摸视图类 (默认:GeeV2CPFocusTouchView, 需要继承 GeeV2CPFocusTouchView)
@property (nonatomic, strong) Class focusTouchViewClazz
Declared In
GeeV2PFCameraOptions.h
cameraPostion
摄像头前后方向 (默认为后置优先)
@property (nonatomic) AVCaptureDevicePosition cameraPostion
Declared In
GeeV2PFCameraOptions.h
cameraDefaultFlashMode
闪光灯模式 (默认:AVCaptureFlashModeOff)
@property (nonatomic) AVCaptureFlashMode cameraDefaultFlashMode
Declared In
GeeV2PFCameraOptions.h
sessionPreset
摄像头分辨率模式 (默认:AVCaptureSessionPresetHigh)
@property (nonatomic, copy) NSString *sessionPreset
Declared In
GeeV2PFCameraOptions.h
enableFilters
是否开启滤镜支持 (默认: 关闭)
@property (nonatomic) BOOL enableFilters
Declared In
GeeV2PFCameraOptions.h
showFilterDefault
默认是否显示滤镜视图 (默认: 不显示, 如果enableFilters = NO, showFilterDefault将失效)
@property (nonatomic) BOOL showFilterDefault
Declared In
GeeV2PFCameraOptions.h
enableFilterHistory
开启滤镜历史记录
@property (nonatomic) BOOL enableFilterHistory
Declared In
GeeV2PFCameraOptions.h
enableNormalFilter
开启无效果滤镜 (默认: 开启)
@property (nonatomic) BOOL enableNormalFilter
Declared In
GeeV2PFCameraOptions.h
enableOnlineFilter
开启在线滤镜
@property (nonatomic) BOOL enableOnlineFilter
Declared In
GeeV2PFCameraOptions.h
onlineControllerClazz
在线滤镜控制器类型 (需要继承 UIViewController,以及实现TuSDKCPFilterOnlineControllerInterface接口)
@property (nonatomic) Class onlineControllerClazz
Declared In
GeeV2PFCameraOptions.h
displayFilterSubtitles
显示滤镜标题视图
@property (nonatomic) BOOL displayFilterSubtitles
Declared In
GeeV2PFCameraOptions.h
filterBarCellWidth
滤镜列表行视图宽度
@property (nonatomic) CGFloat filterBarCellWidth
Declared In
GeeV2PFCameraOptions.h
filterBarStackViewWidth
滤镜列表区头视图宽度
@property (nonatomic) CGFloat filterBarStackViewWidth
Declared In
GeeV2PFCameraOptions.h
filterBarHeight
滤镜列表选择栏高度
@property (nonatomic) CGFloat filterBarHeight
Declared In
GeeV2PFCameraOptions.h
stackViewClazz
滤镜列表区头视图类 (默认:TuSDKCPGroupFilterGroupCellBase, 需要继承 UITableViewCell
@property (nonatomic, strong) Class stackViewClazz
Declared In
GeeV2PFCameraOptions.h
filterBarTableCellClazz
滤镜列表行视图类 (默认:TuSDKCPGroupFilterItem, 需要继承 TuSDKCPGroupFilterItem)
@property (nonatomic, strong) Class filterBarTableCellClazz
Declared In
GeeV2PFCameraOptions.h
saveLastFilter
是否保存最后一次使用的滤镜
@property (nonatomic) BOOL saveLastFilter
Declared In
GeeV2PFCameraOptions.h
autoSelectGroupDefaultFilter
自动选择分组滤镜指定的默认滤镜
@property (nonatomic) BOOL autoSelectGroupDefaultFilter
Declared In
GeeV2PFCameraOptions.h
enableFilterConfig
开启滤镜配置选项
@property (nonatomic) BOOL enableFilterConfig
Declared In
GeeV2PFCameraOptions.h
disableContinueFoucs
禁用持续自动对焦 (默认: NO)
@property (nonatomic) BOOL disableContinueFoucs
Declared In
GeeV2PFCameraOptions.h
autoFoucsDelay
自动聚焦延时 (默认: 5秒)
@property (nonatomic) NSTimeInterval autoFoucsDelay
Declared In
GeeV2PFCameraOptions.h
regionViewColor
视频覆盖区域颜色 (默认:[UIColor blackColor])
@property (nonatomic, retain) UIColor *regionViewColor
Declared In
GeeV2PFCameraOptions.h
disableMirrorFrontFacing
禁用前置摄像头自动水平镜像 (默认: NO,前置摄像头拍摄结果自动进行水平镜像)
@property (nonatomic) BOOL disableMirrorFrontFacing
Declared In
GeeV2PFCameraOptions.h
displayAlbumPoster
显示相册照片,点击后请求打开相册 (默认: false,不显示相册入口)
@property (nonatomic) BOOL displayAlbumPoster
Declared In
GeeV2PFCameraOptions.h
displayGuideLine
是否显示辅助线 (默认: false)
@property (nonatomic) BOOL displayGuideLine
Declared In
GeeV2PFCameraOptions.h
enableFaceDetection
是否开启脸部追踪
@property (nonatomic) BOOL enableFaceDetection
Declared In
GeeV2PFCameraOptions.h
enableCameraPreview
是否开启拍照预览
@property (nonatomic) BOOL enableCameraPreview
Declared In
GeeV2PFCameraOptions.h
waterMarkOption
设置水印选项 (默认为空,如果设置不为空,则输出的图片上将带有水印)
@property (nonatomic) TuSDKWaterMarkOption *waterMarkOption
Declared In
GeeV2PFCameraOptions.h
enableCaptureWithVolumeKeys
是否允许音量键拍照 (默认关闭)
@property (nonatomic) BOOL enableCaptureWithVolumeKeys
Declared In
GeeV2PFCameraOptions.h
enableFocalDistance
是否开启焦距调节 (默认关闭)
@property (nonatomic, assign) BOOL enableFocalDistance
Declared In
GeeV2PFCameraOptions.h
focalDistanceScale
相机显示焦距 (默认为 1,最大不可超过硬件最大值,当小于 1 时,取 1)
@property (nonatomic, assign) CGFloat focalDistanceScale
Declared In
GeeV2PFCameraOptions.h
– viewController
创建系统相机控制器对象
- (GeeV2PFCameraViewController *)viewController
Return Value
controller 系统相机控制器对象
Declared In
GeeV2PFCameraOptions.h