Class UsageStats
Package com.here.sdk.core.engine
Class UsageStats
- java.lang.Object
-
- com.here.sdk.core.engine.UsageStats
-
public final class UsageStats extends java.lang.ObjectA 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 Classes Modifier and Type Class Description static classUsageStats.FeatureRepresents the feature enum associated with the gathered usage stats.static classUsageStats.NetworkStatsProvides network statistics in bytes per method.
-
Field Summary
Fields Modifier and Type Field Description UsageStats.FeaturefeatureRepresents the HERE SDK feature associated with the gathered usage statistics.java.util.List<UsageStats.NetworkStats>networkStatsProvides network statistics.
-
Constructor Summary
Constructors Constructor Description UsageStats(java.util.List<UsageStats.NetworkStats> networkStats, UsageStats.Feature feature)Creates a new instance.
-
-
-
Field Detail
-
networkStats
@NonNull public java.util.List<UsageStats.NetworkStats> networkStats
Provides network statistics.
-
feature
@NonNull public UsageStats.Feature feature
Represents the HERE SDK feature associated with the gathered usage statistics.
-
-
Constructor Detail
-
UsageStats
public UsageStats(@NonNull java.util.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.
-
-