onNativeCallControl method

  1. @override
void onNativeCallControl(
  1. void sink(
    1. String action,
    2. String callId,
    3. Object? value
    )
)
override

Register a sink for in-call controls the user drove from the SYSTEM call UI (mute / hold / DTMF keypad). action is mute | hold | dtmf; value is the bool or digit string. iOS/CallKit only — Android's self-managed UI has no system in-call controls.

Implementation

@override
void onNativeCallControl(void Function(String action, String callId, Object? value) sink) =>
    _callControlSink = sink;