DataSourceChangedNotifier
Deprecated
This API is deprecated, for more details please go to: https://developer.tomtom.com/navigation/android/releases/versions/2.1
Interface for the notification of changes in the data source. It allows the subscription to data source changes and enables reaction to them.
The DataSourceChangedNotifier instance provided by the com.tomtom.sdk.datamanagement.hybridnavigationdata.HybridNavigationDataStore is tied to the lifecycle of the data store. Once the data store is closed, the DataSourceChangedNotifier becomes inactive and should no longer be used, as invoking its methods will result in an IllegalStateException.
Properties
The active data source. Listeners subscribed through addDataSourceChangedListener are notified each time this value changes.
Functions
Adds a DataSourceChangedListener. The listener is notified of new DataSource each time an active data source changed.
Removes a previously added DataSourceChangedListener.