Feature
public enum Feature : UInt32, CaseIterable, Codable
Represents the feature enum associated with the gathered usage stats.
-
Represents network traffic statistics for online usage corresponding to the
LayerConfiguration.Feature.detailRenderinglayer configuration. Counted when data for the corresponding layer is requested by the application by performing one of the following actions:- Pan the map view to areas that have not been cached, prefetched or installed before.
- Use
MapDownloaderto download and install aRegion. - Prefetch map data into the map cache with the
RoutePrefetcherfor areas that have not been cached, prefetched or installed before. Note that you can enable or disable this feature by calling:LayerConfiguration.enabledFeatures(..) or LayerConfiguration.implicitlyPrefetchedFeatures().
Declaration
Swift
case detailedRendering -
Represents network traffic statistics for online usage corresponding to the “ev_charging_station_rendering_premium” layer group, enabled with
LayerConfiguration.Feature.ev. Note, thatLayerConfiguration.Feature.evalso enables “ev_charging_station_search_premium” layer group, which is represented with [UsageStats.Feature.EV_SEARCH]. Counted when data for the corresponding layer is requested by the application by performing one of the following actions:- Pan the map view to areas that have not been cached, prefetched or installed before.
- Use
MapDownloaderto download and install aRegion. - Prefetch map data into the map cache with the
RoutePrefetcherfor areas that have not been cached, prefetched or installed before. As of now, this layer cannot be turned off.
Declaration
Swift
case evRendering -
Represents network traffic statistics for online usage corresponding to the “ev_charging_station_search_premium” layer group, enabled with
LayerConfiguration.Feature.ev. Note, thatLayerConfiguration.Feature.evalso enables “ev_charging_station_rendering_premium” layer group, which is represented with [UsageStats.Feature.EV_RENDERING]. Counted when data for the corresponding layer is requested by the application by performing one of the following actions:- Pan the map view to areas that have not been cached, prefetched or installed before.
- Use
MapDownloaderto download and install aRegion. - Prefetch map data into the map cache with the
RoutePrefetcherfor areas that have not been cached, prefetched or installed before. As of now, this layer cannot be turned off.
Declaration
Swift
case evSearch -
Represents network traffic statistics for online usage corresponding to the “adas”, “ehorizon”, “interop”, “isa” OCM layers. In addition, it is also tracking the following layer configurations:
LayerConfiguration.Feature.navigationLayerConfiguration.Feature.junctionView3x4LayerConfiguration.Feature.junctionView16x9LayerConfiguration.Feature.junctionSign3x4LayerConfiguration.Feature.junctionSign3x5LayerConfiguration.Feature.junctionSign4x3LayerConfiguration.Feature.junctionSign5x3LayerConfiguration.Feature.junctionSign16x9Counted when data for the corresponding layer is requested by the application by performing one of the following actions:- Pan the map view to areas that have not been cached, prefetched or installed before.
- Use
MapDownloaderto download and install aRegion. - Prefetch map data into the map cache with the
RoutePrefetcherfor areas that have not been cached, prefetched or installed before. - Using online navigation when the requested data is not cached, prefetched, or installed before. As of now, the above listed OCM layers cannot be turned off except for those that are exposed as layer configuration.
Declaration
Swift
case navigation -
Represents network traffic statistics for places search. This is legacy statistic which is now replaced by
UsageStats.Feature.searchOnline.Declaration
Swift
case places -
Represents network traffic statistics for online usage corresponding to the
LayerConfiguration.Feature.rdsTrafficlayer configuration. Counted when data for the corresponding layer is requested by the application by performing one of the following actions:- Pan the map view to areas that have not been cached, prefetched or installed before.
- Use
MapDownloaderto download and install aRegion. - Prefetch map data into the map cache with the
RoutePrefetcherfor areas that have not been cached, prefetched or installed before. Note that you can enable or disable this feature by calling:LayerConfiguration.enabledFeatures(..) or LayerConfiguration.implicitlyPrefetchedFeatures().
Declaration
Swift
case rdsTraffic -
Represents network traffic statistics for online usage corresponding to the
LayerConfiguration.Feature.renderinglayer configuration. Counted when data for the corresponding layer is requested by the application by performing one of the following actions:- Pan the map view to areas that have not been cached, prefetched or installed before.
- Use
MapDownloaderto download and install aRegion. - Prefetch map data into the map cache with the
RoutePrefetcherfor areas that have not been cached, prefetched or installed before. Note that you can enable or disable this feature by calling:LayerConfiguration.enabledFeatures(..) or LayerConfiguration.implicitlyPrefetchedFeatures().
Declaration
Swift
case rendering -
Represents network traffic statistics for online usage corresponding to the
RoutingEngine. Includes the following transaction counts and APIs:- Routing Car, Bicycle, Pedestrian with HRN
hrn:here:service::olp-here:routing-8:basecounted with the use ofRoutingEngine with CarOptions,BicycleOptions or PedestrianOptions. - Routing Scooter with HRN
hrn:here:service::olp-here:routing-8:scootercounted with the use ofRoutingEngine with ScooterOptions - Routing Taxi with HRN
hrn:here:service::olp-here:routing-8:taxicounted with the use ofRoutingEngine with TaxiOptions - Routing Truck with HRN
hrn:here:service::olp-here:routing-8:truckcounted with the use ofRoutingEngine with TruckOptions - Time-Aware Routing with HRN
hrn:here:service::olp-here:routing-8:trafficcounted with the use ofRouteOptions with arrivalTime or departureTime - Routing EV with HRN
hrn:here:service::olp-here:routing-8:evcounted with the use ofRoutingEngine with EVTRuckOptions or EVCarOptions and evCarOptions.ensureReachability =true. - Route Import with HRN
hrn:here:service::olp-here:routing-8:importcounted with the use ofRoutingEngine.importRoutes(...) - Toll Cost with HRN
hrn:here:service::olp-here:routing-8:tollscounted with the use ofRoutingEngine with RouteOptions.enableTolls - Routing Bus with HRN
hrn:here:service::olp-here:routing-8:buscounted with the use ofRoutingEngine with BusOptions - Isoline Routing with HRN
hrn:here:service::olp-here:isoline-routing-8counted with the use ofRoutingEngine with IsolineOptions
Declaration
Swift
case router - Routing Car, Bicycle, Pedestrian with HRN
-
Represents network traffic statistics for online usage corresponding to the following layer configurations:
LayerConfiguration.Feature.offlineRoutingLayerConfiguration.Feature.offlineBusRoutingCounted when data for the corresponding layer is requested by the application by performing one of the following actions:- Pan the map view to areas that have not been cached, prefetched or installed before.
- Use
MapDownloaderto download and install aRegion. - Prefetch map data into the map cache with the
RoutePrefetcherfor areas that have not been cached, prefetched or installed before. Note that you can enable or disable this feature by calling:LayerConfiguration.enabledFeatures(..) or LayerConfiguration.implicitlyPrefetchedFeatures().
Declaration
Swift
case routing -
Represents network traffic statistics to show satellite map scheme. This includes a Raster Tile Base transaction count with HRN
hrn:here:service::olp-here:rendering-raster-tiles-3:base.Declaration
Swift
case satellites -
Represents network traffic statistics for online usage corresponding to the “search”, “ev_charging_station_search_premium”, “fueling_station_premium” OCM layers. Counted when data for the corresponding layer is requested by the application by performing one of the following actions:
- Pan the map view to areas that have not been cached, prefetched or installed before.
- Use
MapDownloaderto download and install aRegion. - Prefetch map data into the map cache with the
RoutePrefetcherfor areas that have not been cached, prefetched or installed before. As of now, these layers cannot be turned off.
Declaration
Swift
case search -
Represents network traffic statistics for online usage corresponding to the
SearchEngine. Includes the following transaction counts and APIs:- Discover/Search with HRN
hrn:here:service::olp-here:search-opensearch-1counted with the use ofSearchEngine textquery search - Geocode & Reverse Geocode with HRN
hrn:here:service::olp-here:geocode-7counted with the use ofSearchEngine addressQuery & GeoCoordinates search - Autosuggest with HRN
hrn:here:service::olp-here:search-autosuggest-7counted with the use ofSearchEngine suggest
Declaration
Swift
case searchOnline - Discover/Search with HRN
-
Represents network traffic statistics for online usage corresponding to the “transit” OCM layer. Counted when data for the corresponding layer is requested by the application by performing one of the following actions:
- Pan the map view to areas that have not been cached, prefetched or installed before.
- Use
MapDownloaderto download and install aRegion. - Prefetch map data into the map cache with the
RoutePrefetcherfor areas that have not been cached, prefetched or installed before. As of now, this layer cannot be turned off.
Declaration
Swift
case transit -
Represents network traffic statistics for online usage corresponding to the
TransitRoutingEngine. This includes a Public Transit transaction count with HRN:hrn:here:service::olp-here:transit-8.Declaration
Swift
case transitRoutingEngine -
Represents network traffic statistics for online usage corresponding to the calls of
TrafficEngine. All calls toTrafficEngineresult in transaction counts for HRNhrn:here:service::olp-here:traffic-api-7:standard.Declaration
Swift
case traffic -
Represents network traffic statistics for traffic vector tiles. This includes a Traffic vector tile transaction count with HRN:
hrn:here:service::olp-here:traffic-vector-tiles-2.Declaration
Swift
case trafficVectorTiles -
Represents network traffic statistics for online usage corresponding to the
LayerConfiguration.Feature.trucklayer configuration. Counted when data for the corresponding layer is requested by the application by performing one of the following actions:- Pan the map view to areas that have not been cached, prefetched or installed before.
- Use
MapDownloaderto download and install aRegion. - Prefetch map data into the map cache with the
RoutePrefetcherfor areas that have not been cached, prefetched or installed before. Note that you can enable or disable this feature by calling:LayerConfiguration.enabledFeatures(..) or LayerConfiguration.implicitlyPrefetchedFeatures().
Declaration
Swift
case truck -
Represents network traffic statistics for online usage corresponding to the vector tiles. This includes a Vector tile transaction count with HRN:
hrn:here:service::olp-here:rendering-vector-tiles-2. This statistic is only counted for the HERE SDK (Explore) when showing the map view.Declaration
Swift
case vectorTiles -
Represents network traffic statistics for feature that doesn’t fit into other categories. Some examples include:
- Authentication
- Analytics
- Any feature not mapped in the existing list.
Declaration
Swift
case other -
Represents network traffic statistics for Here Positioning. This includes a Network Positioning transaction count with HRN
hrn:here:service::olp-here:positioning-2.Declaration
Swift
case positioning