SegmentDataLoaderOptions (API Reference)
Class SegmentDataLoaderOptions
Specifies which data should be loaded by the SegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions) or SegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions) function.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanIf it is true,SegmentSpanData.getAdministrativeRules()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called.booleanIf it is true,SegmentSpanData.getPositiveDirectionBaseSpeedInMetersPerSecond(),SegmentSpanData.getNegativeDirectionBaseSpeedInMetersPerSecond()andSegmentSpanData.getBaseSpeedInMetersPerSecond()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called.booleanIf it is true, theSegmentSpanData.getFunctionalRoadClass()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called.booleanIf it is true,SegmentSpanData.getLocalRoadCharacteristics()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called.booleanIf it is true,SegmentData.getRailwayCrossings()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called.booleanIf it is true,SegmentSpanData.getPhysicalAttributes()andSegmentSpanData.getRoadUsages()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called.booleanIf it is true,SegmentData.getRoadSigns()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called.booleanIf it is true,SegmentSpanData.getSpecialSpeedSituations()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called.booleanIf it is true,SegmentSpanData.getPositiveDirectionSpeedLimit(),SegmentSpanData.getNegativeDirectionSpeedLimit()andSegmentSpanData.getSpeedLimit()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called.booleanIf it is true,SegmentSpanData.getStreetNames()andSegmentSpanData.getRoadNumbers()and will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called.booleanIf it is true,SegmentData.getTollPoints()will be loaded whenSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called.booleanIf it is true,SegmentData.getTrafficSignals()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called.booleanIf it is true,SegmentSpanData.getAllowedTransportModes()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called.booleanIf it is true, theSegmentSpanData.getTravelDirection()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called.booleanIf it is true,SegmentSpanData.isUrban()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
loadTravelDirection
public boolean loadTravelDirectionIf it is true, the
SegmentSpanData.getTravelDirection()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called. -
loadFunctionalRoadClass
public boolean loadFunctionalRoadClassIf it is true, the
SegmentSpanData.getFunctionalRoadClass()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called. -
loadTransportModesAccess
public boolean loadTransportModesAccessIf it is true,
SegmentSpanData.getAllowedTransportModes()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called. -
loadSpeedLimits
public boolean loadSpeedLimitsIf it is true,
SegmentSpanData.getPositiveDirectionSpeedLimit(),SegmentSpanData.getNegativeDirectionSpeedLimit()andSegmentSpanData.getSpeedLimit()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called. -
loadBaseSpeeds
public boolean loadBaseSpeedsIf it is true,
SegmentSpanData.getPositiveDirectionBaseSpeedInMetersPerSecond(),SegmentSpanData.getNegativeDirectionBaseSpeedInMetersPerSecond()andSegmentSpanData.getBaseSpeedInMetersPerSecond()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called. -
loadLocalRoadCharacteristics
public boolean loadLocalRoadCharacteristicsIf it is true,
SegmentSpanData.getLocalRoadCharacteristics()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called. -
loadStreetNamesAndRoadNumbers
public boolean loadStreetNamesAndRoadNumbersIf it is true,
SegmentSpanData.getStreetNames()andSegmentSpanData.getRoadNumbers()and will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called. -
loadRoadAttributes
public boolean loadRoadAttributesIf it is true,
SegmentSpanData.getPhysicalAttributes()andSegmentSpanData.getRoadUsages()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called. -
loadTrafficSignals
public boolean loadTrafficSignalsIf it is true,
SegmentData.getTrafficSignals()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called. Defaults tofalse. -
loadRoadSigns
public boolean loadRoadSignsIf it is true,
SegmentData.getRoadSigns()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called. Defaults tofalse. -
loadAdministrativeRules
public boolean loadAdministrativeRulesIf it is true,
SegmentSpanData.getAdministrativeRules()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called. Defaults tofalse. -
loadRailwayCrossings
public boolean loadRailwayCrossingsIf it is true,
SegmentData.getRailwayCrossings()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)orSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called. Defaults tofalse. -
loadUrban
public boolean loadUrbanIf it is true,
SegmentSpanData.isUrban()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called. Defaults tofalse. -
loadSpecialSpeedSituations
public boolean loadSpecialSpeedSituationsIf it is true,
SegmentSpanData.getSpecialSpeedSituations()will be loaded whenSegmentDataLoader.loadData(com.here.sdk.mapdata.OCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called. Note: To get timezone offset and daylight saving time values for TimeRule, [sdk.mapdata.SegmentDataLoaderOptions.load_administrative_rules] must also be set totrue. Defaults tofalse. -
loadTollPoints
public boolean loadTollPointsIf it is true,
SegmentData.getTollPoints()will be loaded whenSegmentDataLoader.loadDirectedSegmentData(com.here.sdk.mapdata.DirectedOCMSegmentId, com.here.sdk.mapdata.SegmentDataLoaderOptions)is called. Defaults tofalse.
-
-
Constructor Details
-
SegmentDataLoaderOptions
public SegmentDataLoaderOptions()Creates a new instance.
-
-
Method Details