I am attempting to use the initializer initWithEAAccessory:protocol: and the locationDataSource:locationDidChange: method for the AGSNMEALocationDataSource.
The documentation for AGSNMEALocationDataSource states that “the locationDataSource:locationDidChange: (AGSLocationChangeHandlerDelegate-p) method will return an AGSNMEALocation,” but after conforming to the AGSNMEALocationDataSourceDelegate the method actually returns a AGSLocation instead.
How can I access the AGSNMEALocation?
class SomeClassName: AGSLocationChangeHandlerDelegate {
func locationDataSource(_ locationDataSource: AGSLocationDataSource, locationDidChange location: AGSLocation) {
// This delegate method gives back an AGSLocation instead of the needed AGSNMEALocation as stated in the documentation
}
}