Enum UsageStats.Feature
- Last UpdatedJun 10, 2025
- 8 minute read
- java.lang.Object
-
- java.lang.Enum<UsageStats.Feature>
-
- com.here.sdk.core.engine.UsageStats.Feature
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UsageStats.Feature>
- Enclosing class:
- UsageStats
public static enum UsageStats.Feature extends java.lang.Enum<UsageStats.Feature>
Represents the feature enum associated with the gathered usage stats.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DETAILED_RENDERING
Represents network traffic statistics for online usage corresponding to theLayerConfiguration.Feature.DETAIL_RENDERING
layer configuration.EV_RENDERING
Represents network traffic statistics for online usage corresponding to the "ev_charging_station_rendering_premium" layer group, enabled withLayerConfiguration.Feature.EV
.EV_SEARCH
Represents network traffic statistics for online usage corresponding to the "ev_charging_station_search_premium" layer group, enabled withLayerConfiguration.Feature.EV
.NAVIGATION
Represents network traffic statistics for online usage corresponding to the "adas", "ehorizon", "interop", "isa" OCM layers.OTHER
Represents network traffic statistics for feature that doesn't fit into other categories.PLACES
Represents network traffic statistics for places search.POSITIONING
Represents network traffic statistics for Here Positioning.RDS_TRAFFIC
Represents network traffic statistics for online usage corresponding to theLayerConfiguration.Feature.TRAFFIC
layer configuration.RENDERING
Represents network traffic statistics for online usage corresponding to theLayerConfiguration.Feature.RENDERING
layer configuration.ROUTER
Represents network traffic statistics for online usage corresponding to theRoutingEngine
.ROUTING
Represents network traffic statistics for online usage corresponding to the following layer configurations:LayerConfiguration.Feature.OFFLINE_ROUTING
LayerConfiguration.Feature.OFFLINE_BUS_ROUTING
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. UseMapDownloader
to download and install aRegion
. Prefetch map data into the map cache with theRoutePrefetcher
for areas that have not been cached, prefetched or installed before.SATELLITES
Represents network traffic statistics to show satellite map scheme.SEARCH
Represents network traffic statistics for online usage corresponding to the "search", "ev_charging_station_search_premium", "fueling_station_premium" OCM layers.SEARCH_ONLINE
Represents network traffic statistics for online usage corresponding to theSearchEngine
.TRAFFIC
Represents network traffic statistics for online usage corresponding to the calls ofTrafficEngine
.TRAFFIC_VECTOR_TILES
Represents network traffic statistics for traffic vector tiles.TRANSIT
Represents network traffic statistics for online usage corresponding to the "transit" OCM layer.TRANSIT_ROUTING_ENGINE
Represents network traffic statistics for online usage corresponding to theTransitRoutingEngine
.TRUCK
Represents network traffic statistics for online usage corresponding to theLayerConfiguration.Feature.TRUCK
layer configuration.VECTOR_TILES
Represents network traffic statistics for online usage corresponding to the vector tiles.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UsageStats.Feature
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UsageStats.Feature[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DETAILED_RENDERING
public static final UsageStats.Feature DETAILED_RENDERING
Represents network traffic statistics for online usage corresponding to the
LayerConfiguration.Feature.DETAIL_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 aRegion
. - 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()
.
-
EV_RENDERING
public static final UsageStats.Feature EV_RENDERING
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.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 aRegion
. - 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.
-
EV_SEARCH
public static final UsageStats.Feature EV_SEARCH
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.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 aRegion
. - 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.
-
NAVIGATION
public static final UsageStats.Feature NAVIGATION
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.NAVIGATION
LayerConfiguration.Feature.JUNCTION_VIEW_3X4
LayerConfiguration.Feature.JUNCTION_VIEW_16X9
LayerConfiguration.Feature.JUNCTION_SIGN_3X4
LayerConfiguration.Feature.JUNCTION_SIGN_3X5
LayerConfiguration.Feature.JUNCTION_SIGN_4X3
LayerConfiguration.Feature.JUNCTION_SIGN_5X3
LayerConfiguration.Feature.JUNCTION_SIGN_16X9
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 aRegion
. - Prefetch map data into the map cache with the
RoutePrefetcher
for 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.
-
PLACES
public static final UsageStats.Feature PLACES
Represents network traffic statistics for places search. This is legacy statistic which is now replaced by
SEARCH_ONLINE
.
-
RDS_TRAFFIC
public static final UsageStats.Feature RDS_TRAFFIC
Represents network traffic statistics for online usage corresponding to the
LayerConfiguration.Feature.TRAFFIC
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 aRegion
. - 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()
.
-
RENDERING
public static final UsageStats.Feature RENDERING
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 aRegion
. - 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()
.
-
ROUTER
public static final UsageStats.Feature ROUTER
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 ofRoutingEngine with CarOptions,BicycleOptions or PedestrianOptions
. - Routing Scooter with HRN
hrn:here:service::olp-here:routing-8:scooter
counted with the use ofRoutingEngine with ScooterOptions
- Routing Taxi with HRN
hrn:here:service::olp-here:routing-8:taxi
counted with the use ofRoutingEngine with TaxiOptions
- Routing Truck with HRN
hrn:here:service::olp-here:routing-8:truck
counted with the use ofRoutingEngine with TruckOptions
- Time-Aware Routing with HRN
hrn:here:service::olp-here:routing-8:traffic
counted with the use ofRouteOptions with arrivalTime or departureTime
- Routing EV with HRN
hrn:here:service::olp-here:routing-8:ev
counted with the use ofRoutingEngine with EVTRuckOptions or EVCarOptions and evCarOptions.ensureReachability =
true.
- Route Import with HRN
hrn:here:service::olp-here:routing-8:import
counted with the use ofRoutingEngine.importRoutes(...)
- Toll Cost with HRN
hrn:here:service::olp-here:routing-8:tolls
counted with the use ofRoutingEngine with RouteOptions.enableTolls
- Routing Bus with HRN
hrn:here:service::olp-here:routing-8:bus
counted with the use ofRoutingEngine with BusOptions
- Isoline Routing with HRN
hrn:here:service::olp-here:isoline-routing-8
counted with the use ofRoutingEngine with IsolineOptions
- Routing Car, Bicycle, Pedestrian with HRN
-
ROUTING
public static final UsageStats.Feature ROUTING
Represents network traffic statistics for online usage corresponding to the following layer configurations:
LayerConfiguration.Feature.OFFLINE_ROUTING
LayerConfiguration.Feature.OFFLINE_BUS_ROUTING
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 aRegion
. - 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()
.
-
SATELLITES
public static final UsageStats.Feature SATELLITES
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
.
-
SEARCH
public static final UsageStats.Feature SEARCH
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 aRegion
. - 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.
-
SEARCH_ONLINE
public static final UsageStats.Feature SEARCH_ONLINE
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 ofSearchEngine textquery search
- Geocode & Reverse Geocode with HRN
hrn:here:service::olp-here:geocode-7
counted with the use ofSearchEngine addressQuery & GeoCoordinates search
- Autosuggest with HRN
hrn:here:service::olp-here:search-autosuggest-7
counted with the use ofSearchEngine suggest
- Discover/Search with HRN
-
TRANSIT
public static final UsageStats.Feature TRANSIT
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 aRegion
. - 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.
-
TRANSIT_ROUTING_ENGINE
public static final UsageStats.Feature TRANSIT_ROUTING_ENGINE
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
.
-
TRAFFIC
public static final UsageStats.Feature TRAFFIC
Represents network traffic statistics for online usage corresponding to the calls of
TrafficEngine
. All calls toTrafficEngine
result in transaction counts for HRNhrn:here:service::olp-here:traffic-api-7:standard
.
-
TRAFFIC_VECTOR_TILES
public static final UsageStats.Feature TRAFFIC_VECTOR_TILES
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
.
-
TRUCK
public static final UsageStats.Feature TRUCK
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 aRegion
. - 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()
.
-
VECTOR_TILES
public static final UsageStats.Feature VECTOR_TILES
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 Explore edition when showing the map view.
-
OTHER
public static final UsageStats.Feature OTHER
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.
-
POSITIONING
public static final UsageStats.Feature POSITIONING
Represents network traffic statistics for Here Positioning. This includes a Network Positioning transaction count with HRN
hrn:here:service::olp-here:positioning-2
.
-
-
Method Detail
-
values
public static UsageStats.Feature[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UsageStats.Feature c : UsageStats.Feature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UsageStats.Feature valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-