ArcGIS Runtime SDK for iOS: AGSLocationDataSource(ForSubclassEyesOnly) Category Reference
ArcGIS Runtime SDK for iOS  100.15
AGSLocationDataSource(ForSubclassEyesOnly) Category Reference

Description

A category to organize subclassable aspects of AGSLocationDataSource.

Members of particular interest while subclassing AGSLocationDataSource

Since
100

Instance Methods

(void) - didStartOrFailWithError:
 
(void) - didStop
 
(void) - didUpdateHeading:
 
(void) - didUpdateLocation:
 
(void) - doStart
 
(void) - doStop
 

Method Documentation

◆ didStartOrFailWithError:

- (void) didStartOrFailWithError: (nullable NSError *)  error

Subclasses must call this in #doStart once the datasource has started.

Since
100

Extends class AGSLocationDataSource.

◆ didStop

- (void) didStop

Subclasses must call this in #doStop once the datasource has stopped.

Since
100

Extends class AGSLocationDataSource.

◆ didUpdateHeading:

- (void) didUpdateHeading: (double)  heading

Subclasses must call this once they have a new heading.

Since
100

Extends class AGSLocationDataSource.

◆ didUpdateLocation:

- (void) didUpdateLocation: (AGSLocation *)  location

Subclasses must call this once they have a new location.

Since
100

Extends class AGSLocationDataSource.

◆ doStart

- (void) doStart

Subclasses must implement this method to start the datasource. Once the datasource has started or failed to start it should call #didStartOrFailWithError:. As updates are received, the datasource should call #didUpdateLocation: or #didUpdateHeading:.

Since
100

Extends class AGSLocationDataSource.

◆ doStop

- (void) doStop

Subclasses must implement this method to stop the datasource. Once the datasource has stopped it should call #didStop

Since
100

Extends class AGSLocationDataSource.