UsageStats (API Reference)
Package com.here.sdk.core.engine
Class UsageStats
java.lang.Object
com.here.sdk.core.engine.UsageStats
A class that gathers statistics of the HERE SDK network usage for uploaded and downloaded data.
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumRepresents the feature enum associated with the gathered usage stats.static final classProvides network statistics in bytes per method. -
Field Summary
FieldsModifier and TypeFieldDescriptionRepresents the HERE SDK feature associated with the gathered usage statistics.Provides network statistics. -
Constructor Summary
ConstructorsConstructorDescriptionUsageStats(List<UsageStats.NetworkStats> networkStats, UsageStats.Feature feature) Creates a new instance. -
Method Summary
-
Field Details
-
networkStats
Provides network statistics.
-
feature
Represents the HERE SDK feature associated with the gathered usage statistics.
-
-
Constructor Details
-
UsageStats
public UsageStats(@NonNull List<UsageStats.NetworkStats> networkStats, @NonNull UsageStats.Feature feature) Creates a new instance.
- Parameters:
networkStats-Provides network statistics.
feature-Represents the HERE SDK feature associated with the gathered usage statistics.
-