Meeting SDK for iOS API Reference
|
Provides APIs to control the remote camera, including pan, tilt, and zoom operations. More...
#include <MobileRTCCameraControlService.h>
Inherits NSObject.
Instance Methods | |
(NSInteger) | - getUserId |
The current controlled user id. | |
(BOOL) | - canControlCamera |
Used to determine whether the camera can be controlled or not. | |
(MobileRTCSDKError) | - requestControlRemoteCamera |
Request to control remote camera. | |
(MobileRTCSDKError) | - giveUpControlRemoteCamera |
Give up control of the remote camera. | |
(MobileRTCSDKError) | - turnLeft: |
Turn the camera to the left. | |
(MobileRTCSDKError) | - turnRight: |
Turn the camera to the right. | |
(MobileRTCSDKError) | - turnUp: |
Turn the camera up. | |
(MobileRTCSDKError) | - turnDown: |
Turn the camera down. | |
(MobileRTCSDKError) | - zoomIn: |
Zoom the camera in. | |
(MobileRTCSDKError) | - zoomOut: |
Zoom the camera out. | |
Properties | |
id< MobileRTCCameraControlDelegate > _Nullable | delegate |
Callback event of receiving camera control. | |
Provides APIs to control the remote camera, including pan, tilt, and zoom operations.
Definition at line 53 of file MobileRTCCameraControlService.h.
- (BOOL) canControlCamera |
Used to determine whether the camera can be controlled or not.
References canControlCamera, delegate, getUserId, giveUpControlRemoteCamera, and requestControlRemoteCamera.
Referenced by canControlCamera.
- (NSInteger) getUserId |
The current controlled user id.
Referenced by canControlCamera.
- (MobileRTCSDKError) giveUpControlRemoteCamera |
Give up control of the remote camera.
Referenced by canControlCamera.
- (MobileRTCSDKError) requestControlRemoteCamera |
Request to control remote camera.
Referenced by canControlCamera.
- (MobileRTCSDKError) turnDown: | (NSInteger) | range |
Turn the camera down.
range | Rotation range, range is between 10 and 100. |
- (MobileRTCSDKError) turnLeft: | (NSInteger) | range |
Turn the camera to the left.
range | Rotation range, range is between 10 and 100. |
- (MobileRTCSDKError) turnRight: | (NSInteger) | range |
Turn the camera to the right.
range | Rotation range, range is between 10 and 100. |
- (MobileRTCSDKError) turnUp: | (NSInteger) | range |
Turn the camera up.
range | Rotation range, range is between 10 and 100. |
- (MobileRTCSDKError) zoomIn: | (NSInteger) | range |
Zoom the camera in.
range | Rotation range, range is between 10 and 100. |
- (MobileRTCSDKError) zoomOut: | (NSInteger) | range |
Zoom the camera out.
range | Rotation range, range is between 10 and 100. |
|
readwritenonatomicweak |
Callback event of receiving camera control.
Definition at line 58 of file MobileRTCCameraControlService.h.
Referenced by canControlCamera.