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
-
openIgnoreBatteryOptimizationSettings()
→ Future<bool>
-
-
openSystemAlertWindowSettings({bool forceOpen = false})
→ Future<bool>
-
-
requestIgnoreBatteryOptimization()
→ Future<bool>
-
-
requestNotificationPermission()
→ Future<NotificationPermission>
-
-
restartService()
→ Future<ServiceRequestResult>
-
-
sendData(Object data)
→ void
-
-
setOnLockScreenVisibility(bool isVisible)
→ void
-
-
startService({required AndroidNotificationOptions androidNotificationOptions, required IOSNotificationOptions iosNotificationOptions, required ForegroundTaskOptions foregroundTaskOptions, required String notificationTitle, required String notificationText, NotificationIconData? notificationIcon, List<NotificationButton>? notificationButtons, Function? callback})
→ Future<ServiceRequestResult>
-
-
stopService()
→ Future<ServiceRequestResult>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateService({ForegroundTaskOptions? foregroundTaskOptions, String? notificationTitle, String? notificationText, NotificationIconData? notificationIcon, List<NotificationButton>? notificationButtons, Function? callback})
→ Future<ServiceRequestResult>
-
-
wakeUpScreen()
→ void
-