SystemLocationDataSource class final

A LocationDataSource that provides location updates from the device.

Use this data source to display location data on a map using the ArcGISMapViewController.locationDisplay.

Inheritance

Constructors

SystemLocationDataSource()
Creates a system location data source.
factory

Properties

error ArcGISException?
An error that describes a problem encountered while starting or running the LocationDataSource.
no setterinherited
exception Exception?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
onErrorChanged Stream<ArcGISException?>
Indicates that the LocationDataSource.error property has changed.
no setterinherited
onExceptionChanged Stream<Exception?>
no setterinherited
onHeadingChanged Stream<double>
Set the heading changed callback function for the location data source.
no setterinherited
onLocationChanged Stream<ArcGISLocation>
Set the location changed callback function for the location data source.
no setterinherited
onStatusChanged Stream<LocationDataSourceStatus>
Set the status changed callback function for the location data source.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status LocationDataSourceStatus
The current status of the location data source.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() Future<void>
Starts the location data source asynchronously and prepares to begin receiving location updates.
inherited
startCancelable() CancelableOperation<void>
Cancelable version of start. See that method for more information.
inherited
stop() Future<void>
Stops the location data source asynchronously.
inherited
stopCancelable() CancelableOperation<void>
Cancelable version of stop. See that method for more information.
inherited
toString() String
A string representation of this object.
inherited
updateHeading(double heading) → void
Updates the current heading angle, in degrees clockwise, relative to north.
inherited
updateLocation(ArcGISLocation location) → void
Updates the position of the current location.
inherited

Operators

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