LocationManager class abstract

Handles location updates and changes.

Implemented types
Implementers

Constructors

LocationManager()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
requestSingleUpdate(LocationListener locationListener) → void
Subscribe to a single location update. If the listener was already subscribed to location updates, the previous subscription will be removed.
resume() → void
Resumes updates stopped by a suspend() call.
subscribeForLocationUpdates(LocationSubscriptionSettings subscriptionSettings, LocationListener locationListener) → void
Subscribe for location update events. If the listener was already subscribed to updates from the LocationManager, subscription settings will be updated.
suspend() → void
Stops updates for all subscriptions until resume() is called.
toString() String
A string representation of this object.
inherited
unsubscribe(LocationListener locationListener) → void
Unsubscribe from location update events. Can be called for either LocationManager.subscribeForLocationUpdates or LocationManager.requestSingleUpdate. For LocationManager.requestSingleUpdate, if an event was already received, LocationManager.unsubscribe does not have any effect. If the listener is already unsubscribed, the method call is ignored.

Operators

operator ==(Object other) bool
The equality operator.
inherited