-
- All Implemented Interfaces:
public final class NavSDKOptions.MapConfig
Data class that contains map related configuration
-
-
Field Summary
Fields Modifier and Type Field Description private final String
dataViewName
private final Region
region
private final Boolean
downloadMapDataEnabled
private final Integer
trafficRefreshTime
private final Integer
cloudTrafficCacheExpireTime
private final Integer
cloudTrafficCacheExtendTime
private final Boolean
enableTraffic
private final Boolean
enableTrafficDebugInfo
private final Long
mapStreamingSpaceLimit
private final String
satelliteHereApiKey
private final Long
satelliteDataSpaceLimit
-
Constructor Summary
Constructors Constructor Description NavSDKOptions.MapConfig(String dataViewName, Region region, Boolean downloadMapDataEnabled, Integer trafficRefreshTime, Integer cloudTrafficCacheExpireTime, Integer cloudTrafficCacheExtendTime, Boolean enableTraffic, Boolean enableTrafficDebugInfo, Long mapStreamingSpaceLimit, String satelliteHereApiKey, Long satelliteDataSpaceLimit)
-
Method Summary
Modifier and Type Method Description final String
getDataViewName()
final Region
getRegion()
The region in pure streaming mode. final Boolean
getDownloadMapDataEnabled()
enable/disable downloading map data from cloud. final Integer
getTrafficRefreshTime()
Traffic refresh time in second. final Integer
getCloudTrafficCacheExpireTime()
Traffic expire time in second. final Integer
getCloudTrafficCacheExtendTime()
Traffic expire time in second. final Boolean
getEnableTraffic()
Set true to enable SDK use cloud traffic, false the otherwise. final Boolean
getEnableTrafficDebugInfo()
Set true to enable traffic debug information feature. final Long
getMapStreamingSpaceLimit()
Map streaming space limit in bytes. final String
getSatelliteHereApiKey()
The API key for HERE satellite Map. final Long
getSatelliteDataSpaceLimit()
Satellite data space limit in bytes. -
-
Constructor Detail
-
NavSDKOptions.MapConfig
NavSDKOptions.MapConfig(String dataViewName, Region region, Boolean downloadMapDataEnabled, Integer trafficRefreshTime, Integer cloudTrafficCacheExpireTime, Integer cloudTrafficCacheExtendTime, Boolean enableTraffic, Boolean enableTrafficDebugInfo, Long mapStreamingSpaceLimit, String satelliteHereApiKey, Long satelliteDataSpaceLimit)
-
-
Method Detail
-
getDataViewName
final String getDataViewName()
-
getRegion
final Region getRegion()
The region in pure streaming mode.
-
getDownloadMapDataEnabled
final Boolean getDownloadMapDataEnabled()
enable/disable downloading map data from cloud.
-
getTrafficRefreshTime
final Integer getTrafficRefreshTime()
Traffic refresh time in second. Default value is 120.
-
getCloudTrafficCacheExpireTime
final Integer getCloudTrafficCacheExpireTime()
Traffic expire time in second. Default value is 120.
-
getCloudTrafficCacheExtendTime
final Integer getCloudTrafficCacheExtendTime()
Traffic expire time in second. Default value is 780.
-
getEnableTraffic
final Boolean getEnableTraffic()
Set true to enable SDK use cloud traffic, false the otherwise. Default value is true.
-
getEnableTrafficDebugInfo
final Boolean getEnableTrafficDebugInfo()
Set true to enable traffic debug information feature. Default value is false.
-
getMapStreamingSpaceLimit
final Long getMapStreamingSpaceLimit()
Map streaming space limit in bytes. Recommended value is 102410241024(1GB)
-
getSatelliteHereApiKey
final String getSatelliteHereApiKey()
The API key for HERE satellite Map.
-
getSatelliteDataSpaceLimit
final Long getSatelliteDataSpaceLimit()
Satellite data space limit in bytes. Recommended value is 10241024200(200MB)
-
-
-
-