ArcGIS Runtime SDK for iOS: <AGSLocationChangeHandlerDelegate> Protocol Reference
ArcGIS Runtime SDK for iOS  100.15
<AGSLocationChangeHandlerDelegate> Protocol Reference

Description

A change handler delegate for AGSLocationDataSource.

A protocol which must be adopted by a class wishing to informed about location and heading changed events on AGSLocationDatasource. An instance of the class must then be set as AGSLocationDataSource::locationChangeHandlerDelegate.

All of the methods of this protocol are optional.

Note: The delegate methods can be called on an arbitrary thread.

@define{AGSLocationDatasource.h, ArcGIS}

Since
100.6
Inheritance diagram for <AGSLocationChangeHandlerDelegate>:
<AGSNMEALocationDataSourceDelegate>

Instance Methods

(void) - locationDataSource:headingDidChange:
 
(void) - locationDataSource:locationDidChange:
 
(void) - locationDataSource:statusDidChange:
 

Method Documentation

◆ locationDataSource:headingDidChange:

- (void) locationDataSource: (AGSLocationDataSource *)  locationDataSource
headingDidChange: (double)  heading 
optional

Tells the delegate that the heading has changed.

Parameters
locationDataSourceThe location data source causing the heading change.
headingThe new heading.
Since
100.6

◆ locationDataSource:locationDidChange:

- (void) locationDataSource: (AGSLocationDataSource *)  locationDataSource
locationDidChange: (AGSLocation *)  location 
optional

Tells the delegate that the location has changed.

Parameters
locationDataSourceThe location data source causing the location change.
locationThe new location.
Since
100.6

◆ locationDataSource:statusDidChange:

- (void) locationDataSource: (AGSLocationDataSource *)  locationDataSource
statusDidChange: (AGSLocationDataSourceStatus status 
optional

Tells the delegate that the data source status has changed.

Parameters
locationDataSourceThe location data source causing the location change.
statusThe new status.
Since
100.6