setOnHold method

Future<void> setOnHold(
  1. String uuid,
  2. bool hold
)

Set a call on/off hold.

uuid of the current call. set hold to true or false

Implementation

Future<void> setOnHold(String uuid, bool hold) async {
  if (!Platform.isIOS) {
    return;
  }
  await _channel.invokeMethod<void>('setMutedCall', {
    'uuid': uuid,
    'hold': hold,
  });
}