|
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 |
| Gets the current controlled user ID. | |
| (BOOL) | - canControlCamera |
| Determines whether the camera can be controlled or not. | |
| (MobileRTCSDKError) | - requestControlRemoteCamera |
| Requests to control the remote camera. | |
| (MobileRTCSDKError) | - giveUpControlRemoteCamera |
| Gives up control of the remote camera. | |
| (MobileRTCSDKError) | - turnLeft: |
| Turns the camera to the left. | |
| (MobileRTCSDKError) | - turnRight: |
| Turns the camera to the right. | |
| (MobileRTCSDKError) | - turnUp: |
| Turns the camera up. | |
| (MobileRTCSDKError) | - turnDown: |
| Turns the camera down. | |
| (MobileRTCSDKError) | - zoomIn: |
| Zooms the camera in. | |
| (MobileRTCSDKError) | - zoomOut: |
| Zooms 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 50 of file MobileRTCCameraControlService.h.
| - (BOOL) canControlCamera |
Determines whether the camera can be controlled or not.
References canControlCamera, delegate, getUserId, giveUpControlRemoteCamera, and requestControlRemoteCamera.
Referenced by canControlCamera.
| - (NSInteger) getUserId |
Gets the current controlled user ID.
Referenced by canControlCamera.
| - (MobileRTCSDKError) giveUpControlRemoteCamera |
Gives up control of the remote camera.
Referenced by canControlCamera.
| - (MobileRTCSDKError) requestControlRemoteCamera |
Requests to control the remote camera.
Referenced by canControlCamera.
| - (MobileRTCSDKError) turnDown: | (NSInteger) | range |
Turns the camera down.
| range | Rotation range, range is between 10 and 100. |
| - (MobileRTCSDKError) turnLeft: | (NSInteger) | range |
Turns the camera to the left.
| range | Rotation range, range is between 10 and 100. |
| - (MobileRTCSDKError) turnRight: | (NSInteger) | range |
Turns the camera to the right.
| range | Rotation range, range is between 10 and 100. |
| - (MobileRTCSDKError) turnUp: | (NSInteger) | range |
Turns the camera up.
| range | Rotation range, range is between 10 and 100. |
| - (MobileRTCSDKError) zoomIn: | (NSInteger) | range |
Zooms the camera in.
| range | Rotation range, range is between 10 and 100. |
| - (MobileRTCSDKError) zoomOut: | (NSInteger) | range |
Zooms the camera out.
| range | Rotation range, range is between 10 and 100. |
|
readwritenonatomicweak |
Callback event of receiving camera control.
Definition at line 55 of file MobileRTCCameraControlService.h.
Referenced by canControlCamera.