FlutterForegroundTaskPlatform class
abstract
- Inheritance
-
- Object
- PlatformInterface
- FlutterForegroundTaskPlatform
- Implementers
Methods
-
checkNotificationPermission()
→ Future<NotificationPermission>
-
-
launchApp([String? route])
→ void
-
-
minimizeApp()
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
openAlarmsAndRemindersSettings()
→ Future<bool>
-
-
openIgnoreBatteryOptimizationSettings()
→ Future<bool>
-
-
openSystemAlertWindowSettings()
→ Future<bool>
-
-
requestIgnoreBatteryOptimization()
→ Future<bool>
-
-
requestNotificationPermission()
→ Future<NotificationPermission>
-
-
restartService()
→ Future<void>
-
-
sendDataToTask(Object data)
→ void
-
-
setOnLockScreenVisibility(bool isVisible)
→ void
-
-
setTaskHandler(TaskHandler handler)
→ void
-
-
startService({required AndroidNotificationOptions androidNotificationOptions, required IOSNotificationOptions iosNotificationOptions, required ForegroundTaskOptions foregroundTaskOptions, int? serviceId, List<ForegroundServiceTypes>? serviceTypes, required String notificationTitle, required String notificationText, NotificationIcon? notificationIcon, List<NotificationButton>? notificationButtons, String? notificationInitialRoute, Function? callback})
→ Future<void>
-
-
stopService()
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateService({ForegroundTaskOptions? foregroundTaskOptions, String? notificationTitle, String? notificationText, NotificationIcon? notificationIcon, List<NotificationButton>? notificationButtons, String? notificationInitialRoute, Function? callback})
→ Future<void>
-
-
wakeUpScreen()
→ void
-