startOnGoingCallNotification static method
Implementation
static Future<void> startOnGoingCallNotification(int seconds) async {
print('[Isolate] startOnGoingCallNotification() Hash: ${Isolate.current.hashCode}');
try {
await _ongoingCallChannel.invokeMethod('startOngoingCallNotification', {
'call_duration_seconds': seconds,
});
} catch (e) {
if (kDebugMode) {
print("Error starting call notification: $e");
}
}
}