voiceReportOutgoing method

  1. @override
Future<void> voiceReportOutgoing({
  1. required String callId,
  2. required String to,
  3. String? displayName,
})
override

Start a native OUTGOING call entry. iOS only in practice: under CallKit the audio session is activated only for a call the OS knows about, so an unreported outbound call has no audio. Android deliberately skips this (a self-managed outgoing Connection can auto-end and tear down a live call).

Implementation

@override
Future<void> voiceReportOutgoing({
  required String callId,
  required String to,
  String? displayName,
}) async {
  try {
    await methodChannel.invokeMethod('voiceReportOutgoing', {
      'callId': callId,
      'to': to,
      'displayName': displayName,
    });
  } catch (_) {}
}