startForeground static method
- @Deprecated("This method is deprecated. You should use startAndroidForegroundService instead.")
- required NotificationContent content,
- List<
NotificationActionButton> ? actionButtons, - int startType = AndroidForegroundServiceConstants.startSticky,
- int? foregroundServiceType,
Implementation
@Deprecated(
"This method is deprecated. You should use startAndroidForegroundService instead.")
static Future<void> startForeground(
{required NotificationContent content,
List<NotificationActionButton>? actionButtons,
int startType = AndroidForegroundServiceConstants.startSticky,
int? foregroundServiceType}) async {
//no-op on web
}