TuSDKStillCameraDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TuSDKVideoCameraInterface.h |
– onStillCamera:stateChanged:
required method
相机状态改变 (如需操作UI线程, 请检查当前线程是否为主线程)
- (void)onStillCamera:(id<TuSDKStillCameraInterface>)camera stateChanged:(lsqCameraState)state
Parameters
camera |
相机对象 |
---|---|
state |
相机运行状态 |
Declared In
TuSDKVideoCameraInterface.h
– onStillCamera:takedResult:error:
required method
获取拍摄图片 (如需操作UI线程, 请检查当前线程是否为主线程)
- (void)onStillCamera:(id<TuSDKStillCameraInterface>)camera takedResult:(TuSDKResult *)result error:(NSError *)error
Parameters
camera |
相机对象 |
---|---|
result |
获取的结果 |
error |
错误信息 |
Declared In
TuSDKVideoCameraInterface.h
– onStillCamera:filterChanged:
切换滤镜完成
- (void)onStillCamera:(id<TuSDKStillCameraInterface>)camera filterChanged:(TuSDKFilterWrap *)newFilter
Parameters
camera |
相机对象 |
---|---|
newFilter |
当前的滤镜对象 |
Declared In
TuSDKVideoCameraInterface.h