hold Call
Puts the call on hold or resumes it asynchronously.
This method provides immediate feedback on whether the hold/resume operation succeeded or failed. Hold state changes will also be notified via CallObserver.onCallHoldStateChanged()
Since
3.16.1
Parameters
put On Hold
true to put the call on hold, false to resume the call
callback
completion handler that will be called with success or error. On success, Result.data will be null. On failure, Result.error will contain error details.
Deprecated
Use holdCall with callback for confirmation of success/failure
Replace with
holdCall(putOnHold, CompletionHandler { })Content copied to clipboard
Puts the call on hold or resumes it synchronously (deprecated).
Since
3.0.0
Parameters
put On Hold
true to put the call on hold, false to resume the call