AndroidServiceForegroundType class
The available foreground types for an Android service.
- Annotations
Constructors
- AndroidServiceForegroundType(int value)
-
Constructs an instance of AndroidServiceForegroundType.
const
Properties
Methods
-
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.
override
Constants
- foregroundServiceTypeCamera → const AndroidServiceForegroundType
-
Corresponds to
ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA
. - foregroundServiceTypeConnectedDevice → const AndroidServiceForegroundType
-
Corresponds to
ServiceInfo.FOREGROUND_SERVICE_TYPE_CONNECTED_DEVICE
. - foregroundServiceTypeDataSync → const AndroidServiceForegroundType
-
Corresponds to
ServiceInfo.FOREGROUND_SERVICE_TYPE_DATA_SYNC
. - foregroundServiceTypeLocation → const AndroidServiceForegroundType
-
Corresponds to
ServiceInfo.FOREGROUND_SERVICE_TYPE_LOCATION
. - foregroundServiceTypeManifest → const AndroidServiceForegroundType
-
Corresponds to
ServiceInfo.FOREGROUND_SERVICE_TYPE_MANIFEST
. - foregroundServiceTypeMediaPlayback → const AndroidServiceForegroundType
-
Corresponds to
ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK
. - foregroundServiceTypeMediaProjection → const AndroidServiceForegroundType
-
Corresponds to
ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION
. - foregroundServiceTypeMicrophone → const AndroidServiceForegroundType
-
Corresponds to
ServiceInfo.FOREGROUND_SERVICE_TYPE_MICROPHONE
. - foregroundServiceTypeNone → const AndroidServiceForegroundType
-
Corresponds to
ServiceInfo.FOREGROUND_SERVICE_TYPE_NONE
. - foregroundServiceTypePhoneCall → const AndroidServiceForegroundType
-
Corresponds to
ServiceInfo.FOREGROUND_SERVICE_TYPE_PHONE_CALL
.