onNativeCallControl method

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

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

void onNativeCallControl(void Function(String action, String callId, Object? value) sink) {}