ProviderChangeEvent class
Event object provided to BackgroundGeolocation.onProviderChange
Constructors
- ProviderChangeEvent(Map event)
Properties
- accuracyAuthorization ↔ int
-
[Precise: On]
switch on the location authorization dialog allowing users to disable high-accuracy location.getter/setter pair - enabled ↔ bool
-
true
when device location-services is enabled.getter/setter pair - gps ↔ bool
-
true
if GPS location provider is enabled.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- network ↔ bool
-
true
if network location provider is enabled.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ int
-
AUTORIZATION_STATUS
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Return
Map
representaion ofProviderChangeEvent
-
toString(
) → String -
Return String representation of
ProviderChangeEvent
forprint
to logs.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- ACCURACY_AUTHORIZATION_FULL → const int
- ACCURACY_AUTHORIZATION_REDUCED → const int
- AUTHORIZATION_STATUS_ALWAYS → const int
- AUTHORIZATION_STATUS_DENIED → const int
- AUTHORIZATION_STATUS_NOT_DETERMINED → const int
- AUTHORIZATION_STATUS_RESTRICTED → const int
- AUTHORIZATION_STATUS_WHEN_IN_USE → const int