UsageStats
public struct 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.
-
Provides network statistics.
Declaration
Swift
public var networkStats: [UsageStats.NetworkStats] -
Represents the HERE SDK feature associated with the gathered usage statistics.
Declaration
Swift
public var feature: UsageStats.Feature -
Creates a new instance.
Declaration
Swift
public init(networkStats: [UsageStats.NetworkStats], feature: UsageStats.Feature) -
Represents the feature enum associated with the gathered usage stats.
See moreDeclaration
Swift
public enum Feature : UInt32, CaseIterable, Codable -
Provides network statistics in bytes per method.
See moreDeclaration
Swift
public struct NetworkStats