voiceMissedCall method

  1. @override
Future<void> voiceMissedCall({
  1. required String callId,
  2. required String from,
  3. String? displayName,
  4. String? avatarUrl,
})
override

The caller cancelled before we answered — clear the ring and leave a "Missed call" notification, like a native phone call.

Implementation

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