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.detailRendering layer 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 MapDownloader to download and install a Region.
    • Prefetch map data into the map cache with the RoutePrefetcher for 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, that LayerConfiguration.Feature.ev also 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 MapDownloader to download and install a Region.
    • Prefetch map data into the map cache with the RoutePrefetcher for 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, that LayerConfiguration.Feature.ev also 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 MapDownloader to download and install a Region.
    • Prefetch map data into the map cache with the RoutePrefetcher for 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:

    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.rdsTraffic layer 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 MapDownloader to download and install a Region.
    • Prefetch map data into the map cache with the RoutePrefetcher for 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.rendering layer 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 MapDownloader to download and install a Region.
    • Prefetch map data into the map cache with the RoutePrefetcher for 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:base counted with the use of RoutingEngine with CarOptions,BicycleOptions or PedestrianOptions.
    • Routing Scooter with HRN hrn:here:service::olp-here:routing-8:scooter counted with the use of RoutingEngine with ScooterOptions
    • Routing Taxi with HRN hrn:here:service::olp-here:routing-8:taxi counted with the use of RoutingEngine with TaxiOptions
    • Routing Truck with HRN hrn:here:service::olp-here:routing-8:truck counted with the use of RoutingEngine with TruckOptions
    • Time-Aware Routing with HRN hrn:here:service::olp-here:routing-8:traffic counted with the use of RouteOptions with arrivalTime or departureTime
    • Routing EV with HRN hrn:here:service::olp-here:routing-8:ev counted with the use of RoutingEngine with EVTRuckOptions or EVCarOptions and evCarOptions.ensureReachability =true.
    • Route Import with HRN hrn:here:service::olp-here:routing-8:import counted with the use of RoutingEngine.importRoutes(...)
    • Toll Cost with HRN hrn:here:service::olp-here:routing-8:tolls counted with the use of RoutingEngine with RouteOptions.enableTolls
    • Routing Bus with HRN hrn:here:service::olp-here:routing-8:bus counted with the use of RoutingEngine with BusOptions
    • Isoline Routing with HRN hrn:here:service::olp-here:isoline-routing-8 counted with the use of RoutingEngine with IsolineOptions

    Declaration

    Swift

    case router
  • Represents network traffic statistics for online usage corresponding to the following layer configurations:

    • LayerConfiguration.Feature.offlineRouting
    • LayerConfiguration.Feature.offlineBusRouting 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 MapDownloader to download and install a Region.
    • Prefetch map data into the map cache with the RoutePrefetcher for 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 MapDownloader to download and install a Region.
    • Prefetch map data into the map cache with the RoutePrefetcher for 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-1 counted with the use of SearchEngine textquery search
    • Geocode & Reverse Geocode with HRN hrn:here:service::olp-here:geocode-7 counted with the use of SearchEngine addressQuery & GeoCoordinates search
    • Autosuggest with HRN hrn:here:service::olp-here:search-autosuggest-7 counted with the use of SearchEngine suggest

    Declaration

    Swift

    case searchOnline
  • 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 MapDownloader to download and install a Region.
    • Prefetch map data into the map cache with the RoutePrefetcher for 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 to TrafficEngine result in transaction counts for HRN hrn: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.truck layer 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 MapDownloader to download and install a Region.
    • Prefetch map data into the map cache with the RoutePrefetcher for 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