ARLocationManager class
Can be used to get the current location of the device, update it and handle location permissions
Constructors
Properties
- currentLocation ↔ Position
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
locationStream
↔ StreamSubscription<
Position> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getLastKnownPosition(
) → Future< Position?> - Returns the last known location of the device or an error, if permissions don't suffice. Automatically queries user permission if possible
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openAppPermissionSettings(
) → void - Opens the settings of the current application
-
openLocationServicesSettings(
) → void - Opens the device settings where location services can be enabled
-
startLocationUpdates(
) → Future< bool> - Starts high precision location updates to keep track of the device's position. Returns true or an error, if permissions don't suffice. Automatically queries user permission if possible
-
stopLocationUpdates(
) → void - Stops the high-precision location updates
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited