Agora Java API Reference for Android
|
Public Member Functions | |
abstract int | setCameraSource (AgoraRteCameraSource source) |
abstract void | switchCamera () |
abstract int | setCameraZoom (float zoomValue) |
abstract int | setCameraFocus (float x, float y) |
abstract int | setCameraAutoFaceFocus (boolean enable) |
abstract int | setCameraFaceDetection (boolean enable) |
abstract int | startCapture (AgoraRteCameraCaptureObserver observer) |
abstract void | stopCapture () |
Protected Member Functions | |
AgoraRteCameraVideoTrack (long nativeHandle) | |
|
abstract |
Sets the camera source of the camera track
source | Camera source. |
|
abstract |
Switches the camera source.
|
abstract |
Sets the camera zoom value
zoomValue | Camera zoom value |
|
abstract |
Sets the coordinates of camera focus area.
x | X axis value. |
y | Y axis value. |
|
abstract |
Whether to enable the camera to automatically focus on a human face.
enable | true: Enables the camera to automatically focus on a human face. false: Disables the camera to automatically focus on a human face. |
|
abstract |
Whether to enable the camera to detect human face.
enable | true: Enables the camera to detect on a human face. false: Disables the camera to detect on a human face. |
|
abstract |
Starts capturing with the selected camera.
observer | The observer which SDK will call when camera state changed. Check agora::rte::CameraState for state details. The observer will be stored in SDK and will be released when IAgoraRteCameraVideoTrack is released. |
|
abstract |
Stops capturing with the selected camera.