startAndroidForegroundService static method
Future<void>
startAndroidForegroundService({
- required NotificationContent content,
- List<
NotificationActionButton> ? actionButtons, - ForegroundStartMode foregroundStartMode = ForegroundStartMode.stick,
- ForegroundServiceType foregroundServiceType = ForegroundServiceType.none,
Implementation
static Future<void> startAndroidForegroundService(
{required NotificationContent content,
List<NotificationActionButton>? actionButtons,
ForegroundStartMode foregroundStartMode = ForegroundStartMode.stick,
ForegroundServiceType foregroundServiceType =
ForegroundServiceType.none}) async {}