AppSettingsCheckerPlatform class abstract
Abstract class representing the platform interface for the AppSettingsChecker plugin.
- Inheritance
-
- Object
- PlatformInterface
- AppSettingsCheckerPlatform
- Implementers
Constructors
- AppSettingsCheckerPlatform()
- Constructs a AppSettingsCheckerPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getBatteryOptimizationStatus(
) → Future< BatteryOptimizationStatus> - Retrieves the current battery optimization status for the app (Android only).
-
getPlatformVersion(
) → Future< String?> - An abstract method that platform-specific implementations must implement. This method is used to retrieve the platform version (e.g., Android version or iOS version).
-
isBatteryOptimizationDisabled(
) → Future< bool> - Checks whether battery optimization is disabled for the app.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ AppSettingsCheckerPlatform
-
The default instance of AppSettingsCheckerPlatform to use.
getter/setter pair