request_hold_async


Description:

[ Version ( since = "0.17.6" ) ]
public async bool request_hold_async (bool hold) throws Error

Requests that the connection manager holds or unholds the call.

Watch hold_state property to know when the channel goes on hold or is unheld. Unholding may fail if the streaming implementation can not obtain all the resources needed to restart the call.

Parameters:

this

a CallChannel

hold

Whether to request a hold or a unhold

callback

a callback to call when the operation finishes

user_data

data to pass to callback