AndroidLaunchableAppsPlatform class abstract
Interface definition for AndroidLaunchableAppsPlatform
- Inheritance
-
- Object
- PlatformInterface
- AndroidLaunchableAppsPlatform
- Implementers
Constructors
- AndroidLaunchableAppsPlatform()
- Constructs a AndroidLaunchableAppsPlatform.
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
-
getLaunchableApplications(
) → Future< List< AndroidAppInfo> > - Retrieves a list of user launchable apps installed on the device. Must be overridden by platorm implementations.
-
getPlatformVersion(
) → Future< String?> - Retrieve platform version. Must be overridden by platorm implementations.
-
isUsagePermissionGranted(
) → Future< bool> - Check if have permissions to query launchable apps usage data. Must be overridden by platorm implementations.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryEvents(
DateTime startDate, DateTime endDate) → Future< List< EventUsageInfo> > - Queries events within a specified date range.
-
requestUsagePermission(
) → Future< void> - Request permissions to query launchable apps usage data. Must be overridden by platorm implementations.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ AndroidLaunchableAppsPlatform
-
The default instance of AndroidLaunchableAppsPlatform to use.
getter/setter pair