StatisticsCollector

class StatisticsCollector(statsManager: StatsManager)

Collects stats from a device.

Constructors

Link copied to clipboard
constructor(statsManager: StatsManager)

Functions

Link copied to clipboard
fun collect(groupName: String, callback: StatCollectionCallback): Cancellable

Collect stats from a single group by name.

Link copied to clipboard
fun collectAll(filter: Set<String>? = null, callback: StatCollectionCallback): Cancellable

List the stat group names from the device and collect each which intersects with the filter.

Link copied to clipboard

Collect from a list of statistic group names.