startBackgroundService method
Future<bool>
startBackgroundService({
- required NotificationPayload payload,
- required ServiceType type,
- AndroidCallServiceKind kind = AndroidCallServiceKind.call,
Starts the foreground service of type for the call in payload.
For ServiceType.call, kind picks which Android service hosts the
call, and so which foreground service types it requests.
Implementation
Future<bool> startBackgroundService({
required NotificationPayload payload,
required ServiceType type,
AndroidCallServiceKind kind = AndroidCallServiceKind.call,
}) {
throw UnimplementedError('startService() has not been implemented.');
}