Package us.zoom.sdk
Interface ZoomVideoSDKRecordingHelper
public interface ZoomVideoSDKRecordingHelper
Helper class for using cloud recording in the session.
See
ZoomVideoSDK.getRecordingHelper()
-
Method Summary
Modifier and TypeMethodDescriptionint
Checks if the current user meets the requirements to start cloud recording.Get the current status of cloud recording.int
Pause the ongoing cloud recording.int
Resume the previously paused cloud recording.int
Start cloud recording.int
Stop cloud recording.
-
Method Details
-
canStartRecording
int canStartRecording()Checks if the current user meets the requirements to start cloud recording. The following are the prerequisites to use the helper class:- A cloud recording add-on plan
- Cloud recording feature enabled on the Web portal
- Returns:
Errors_Success
if the current user meets the requirements to start cloud recording. Otherwise, the current user does not meeting the requirements to start recording See error codes defined inZoomVideoSDKErrors
.
-
startCloudRecording
int startCloudRecording()Start cloud recording. Since cloud recording involves asynchronous operations, a return value ofErrors_Success
does not guarantee that the recording will start. SeeZoomVideoSDKDelegate.onCloudRecordingStatus(us.zoom.sdk.ZoomVideoSDKRecordingStatus, us.zoom.sdk.ZoomVideoSDKRecordingConsentHandler)
for information on how to confirm that recording has commenced.- Returns:
Errors_Success
if the start cloud recording request was successful. Otherwise, the start cloud recording request failed. See error codes defined inZoomVideoSDKErrors
.
-
stopCloudRecording
int stopCloudRecording()Stop cloud recording. Since cloud recording involves asynchronous operations, a return value ofErrors_Success
does not guarantee that the recording will stop. SeeZoomVideoSDKDelegate.onCloudRecordingStatus(us.zoom.sdk.ZoomVideoSDKRecordingStatus, us.zoom.sdk.ZoomVideoSDKRecordingConsentHandler)
for information on how to confirm that recording has ended.- Returns:
Errors_Success
if the stop cloud recording request was successful. Otherwise, the stop cloud recording request failed. See error codes defined inZoomVideoSDKErrors
.
-
pauseCloudRecording
int pauseCloudRecording()Pause the ongoing cloud recording. Since cloud recording involves asynchronous operations, a return value ofErrors_Success
does not guarantee that the recording will pause. SeeZoomVideoSDKDelegate.onCloudRecordingStatus(us.zoom.sdk.ZoomVideoSDKRecordingStatus, us.zoom.sdk.ZoomVideoSDKRecordingConsentHandler)
for information on how to confirm that recording has paused.- Returns:
Errors_Success
if the pause cloud recording request was successful. Otherwise, the pause cloud recording request failed. See error codes defined inZoomVideoSDKErrors
.
-
resumeCloudRecording
int resumeCloudRecording()Resume the previously paused cloud recording. Since cloud recording involves asynchronous operations, a return value ofErrors_Success
does not guarantee that the recording will resume. SeeZoomVideoSDKDelegate.onCloudRecordingStatus(us.zoom.sdk.ZoomVideoSDKRecordingStatus, us.zoom.sdk.ZoomVideoSDKRecordingConsentHandler)
for information on how to confirm that recording has resumed.- Returns:
Errors_Success
if the resume cloud recording request was successful. Otherwise, the resume cloud recording request failed. See error codes defined inZoomVideoSDKErrors
.
-
getCloudRecordingStatus
ZoomVideoSDKRecordingStatus getCloudRecordingStatus()Get the current status of cloud recording.- Returns:
- cloud recording status value defined in
ZoomVideoSDKRecordingStatus
.
-