update Recording
Updates the recording based on the given parameters, managing recording start, pause, and resume states, as well as providing alerts for required conditions.
Recording State Management
Pause: Validates if recording can be paused based on limits and triggers the
recordPauseTimerif conditions are met.Resume: Validates if recording can be resumed based on limits and confirms before triggering the
recordResumeTimer.
Example Usage:
val options = UpdateRecordingOptions(
parameters = recordingParameters
)
updateRecording(options)Content copied to clipboard
Error Handling:
Provides alerts for invalid actions (e.g., recording stopped or media not on).
Reports success or failure for each recording state change through
ShowAlert.