Package com.mapfactor.sdk.map
Interface MapDataProvider
public interface MapDataProvider
Map data provider
- Since:
- 1.0
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Map data provider namestatic enum
Changing map data provider result code -
Method Summary
Modifier and TypeMethodDescriptionGet active map data provider namesetMapDataProvider
(MapDataProvider.ProviderName mapDataProviderName, RestartListener restartListener) Set map data provider.
-
Method Details
-
setMapDataProvider
MapDataProvider.SetMapDataProviderResult setMapDataProvider(@NonNull MapDataProvider.ProviderName mapDataProviderName, @Nullable RestartListener restartListener) Set map data provider. MapFactor SDK engines will be restarted for the change to take effect.- Parameters:
mapDataProviderName
- data provider namerestartListener
- MapFactor SDK engines restart listener- Returns:
- settings new map data provider result code
- Since:
- 1.0
-
getMapDataProvider
MapDataProvider.ProviderName getMapDataProvider()Get active map data provider name- Returns:
- current map data provider
- Since:
- 1.0
-