TuSDKPFCameraDelegate Protocol Reference
Conforms to | TuSDKCPComponentErrorDelegate |
---|---|
Declared in | TuSDKPFCameraViewController.h |
– onTuSDKPFCamera:captureResult:
required method
获取一个拍摄结果
- (void)onTuSDKPFCamera:(TuSDKPFCameraViewController *)controller captureResult:(TuSDKResult *)result
Parameters
controller |
默认相机视图控制器 |
---|---|
result |
拍摄结果 |
Declared In
TuSDKPFCameraViewController.h
– onAsyncTuSDKPFCamera:captureResult:
获取一个拍摄结果 (异步方法)
- (BOOL)onAsyncTuSDKPFCamera:(TuSDKPFCameraViewController *)controller captureResult:(TuSDKResult *)result
Parameters
controller |
默认相机视图控制器 |
---|---|
result |
拍摄结果 |
Return Value
BOOL 是否截断默认处理逻辑 (默认: false, 设置为True时使用自定义处理逻辑)
Declared In
TuSDKPFCameraViewController.h
– onTuSDKAlbumDemand:
请求从相机界面跳转至相册
- (void)onTuSDKAlbumDemand:(TuSDKPFCameraViewController *)controller
Parameters
controller |
默认相机视图控制器 |
---|
Declared In
TuSDKPFCameraViewController.h