-
- All Implemented Interfaces:
public final class NavSDKOptions.MapConfigData class that contains map related configuration
-
-
Field Summary
Fields Modifier and Type Field Description private final StringdataViewNameprivate final Regionregionprivate final BooleandownloadMapDataEnabledprivate final IntegertrafficRefreshTimeprivate final IntegercloudTrafficCacheExpireTimeprivate final IntegercloudTrafficCacheExtendTimeprivate final BooleanenableTrafficprivate final BooleanenableTrafficDebugInfoprivate final LongmapStreamingSpaceLimitprivate final StringsatelliteHereApiKeyprivate final LongsatelliteDataSpaceLimit
-
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 StringgetDataViewName()final RegiongetRegion()The region in pure streaming mode. final BooleangetDownloadMapDataEnabled()enable/disable downloading map data from cloud. final IntegergetTrafficRefreshTime()Traffic refresh time in second. final IntegergetCloudTrafficCacheExpireTime()Traffic expire time in second. final IntegergetCloudTrafficCacheExtendTime()Traffic expire time in second. final BooleangetEnableTraffic()Set true to enable SDK use cloud traffic, false the otherwise. final BooleangetEnableTrafficDebugInfo()Set true to enable traffic debug information feature. final LonggetMapStreamingSpaceLimit()Map streaming space limit in bytes. final StringgetSatelliteHereApiKey()The API key for HERE satellite Map. final LonggetSatelliteDataSpaceLimit()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)
-
-
-
-