Class UsageStats

  • java.lang.Object
    • com.here.sdk.core.engine.UsageStats

  • public final class UsageStats
    extends java.lang.Object

    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 Classes 
      Modifier and Type Class Description
      static class  UsageStats.Feature
      Represents the feature enum associated with the gathered usage stats.
      static class  UsageStats.NetworkStats
      Provides network statistics in bytes per method.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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.