UsageTrackerFacilitator

public class UsageTrackerFacilitator
extends Object

java.lang.Object
   ↳ android.support.test.runner.UsageTrackerFacilitator


Helper class to enable/disable usage tracker in the runner. For details on how AndroidJUnitRunner tracks usage, see AndroidJUnitRunner Analytics

Summary

Public constructors

UsageTrackerFacilitator(RunnerArgs runnerArgs)

Public methods

void registerUsageTracker(UsageTracker usageTracker)
void sendUsages()
boolean shouldTrackUsage()
void trackUsage(String usage)

Inherited methods

From class java.lang.Object

Public constructors

UsageTrackerFacilitator

UsageTrackerFacilitator (RunnerArgs runnerArgs)

Parameters
runnerArgs RunnerArgs

Public methods

registerUsageTracker

void registerUsageTracker (UsageTracker usageTracker)

Parameters
usageTracker UsageTracker

sendUsages

void sendUsages ()

shouldTrackUsage

boolean shouldTrackUsage ()

Returns
boolean

trackUsage

void trackUsage (String usage)

Parameters
usage String