DeviceLocationAccuracyType enum

Enumeration describing the accuracy of the location data provided by the device. As the accuracy level increases, so too does the potential power consumption.

Inheritance
Available extensions

Values

lowPower → const DeviceLocationAccuracyType

The best accuracy possible with no extra power consumption.

low → const DeviceLocationAccuracyType

City-level accuracy.

medium → const DeviceLocationAccuracyType

Block-level accuracy.

high → const DeviceLocationAccuracyType

Higest accuracy available from the device.

Location data for navigation usage (iOS only).

reduced → const DeviceLocationAccuracyType

For iOS 14.0+, this represents kCLLocationAccuracyReduced. For iOS < 14.0 and Android, this is the same as DeviceLocationAccuracy.low.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
inherited

Constants

values → const List<DeviceLocationAccuracyType>
A constant List of the values in this enum, in order of their declaration.