onNativeCallAudioSession method

void onNativeCallAudioSession(
  1. void sink(
    1. bool active
    )
)

Register a sink for the external call system's audio-session window (iOS CallKit didActivate/didDeactivate). The media engine may only run its audio engine while this is true.

Implementation

void onNativeCallAudioSession(void Function(bool active) sink) {}