setAllowIncomingWhileBusy method

  1. @override
Future<bool> setAllowIncomingWhileBusy({
  1. bool allow = true,
})
override

Whether the Twilio Device raises incoming while already on a call, via the SDK's allowIncomingWhileBusy device option. Applied to the active device immediately.

Implementation

@override
Future<bool> setAllowIncomingWhileBusy({bool allow = true}) async {
  _allowIncomingWhileBusy = allow;
  device?.updateOptions(_deviceOptions);
  return true;
}