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 TypeMethodDescriptionintChecks if the current user meets the requirements to start cloud recording.Get the current status of cloud recording.intPause the ongoing cloud recording.intResume the previously paused cloud recording.intStart cloud recording.intStop 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_Successif 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_Successdoes 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_Successif 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_Successdoes 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_Successif 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_Successdoes 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_Successif 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_Successdoes 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_Successif 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.
-