IOSSettings class
iOS specific tracking settings.
- Inheritance
-
- Object
- LocatorSettings
- IOSSettings
Constructors
- IOSSettings({LocationAccuracy accuracy = LocationAccuracy.NAVIGATION, double distanceFilter = 0, bool showsBackgroundLocationIndicator = false, bool stopWithTerminate = false})
-
Creates iOS settings. Defaults to LocationAccuracy.NAVIGATION, no
distance filter, no indicator and tracking that survives termination.
const
Properties
- accuracy → LocationAccuracy
-
Desired accuracy of the locations.
finalinherited
- distanceFilter → double
-
Minimum distance in meters between two location updates; 0 disables
the filter.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showsBackgroundLocationIndicator → bool
-
Shows the blue background location indicator in the status bar while
the app uses location in the background.
final
- stopWithTerminate → bool
-
Stops location updates when the user terminates the app; otherwise
region monitoring relaunches the app to resume tracking.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Serializes the settings for the platform channel.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited