Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

UsageTrackerFacilitator

public class UsageTrackerFacilitator
extends Object implements UsageTracker

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)
UsageTrackerFacilitator(boolean shouldTrackUsage)

Public methods

void registerUsageTracker(UsageTracker usageTracker)
void sendUsages()

Requests that all usages be sent.

boolean shouldTrackUsage()
void trackUsage(String usage, String version)

Indicates that a particular tool/api was used.

Inherited methods

From class java.lang.Object
From interface android.support.test.internal.runner.tracker.UsageTracker

Public constructors

UsageTrackerFacilitator

UsageTrackerFacilitator (RunnerArgs runnerArgs)

Parameters
runnerArgs RunnerArgs

UsageTrackerFacilitator

UsageTrackerFacilitator (boolean shouldTrackUsage)

Parameters
shouldTrackUsage boolean

Public methods

registerUsageTracker

void registerUsageTracker (UsageTracker usageTracker)

Parameters
usageTracker UsageTracker

sendUsages

void sendUsages ()

Requests that all usages be sent.

shouldTrackUsage

boolean shouldTrackUsage ()

Returns
boolean

trackUsage

void trackUsage (String usage, 
                String version)

Indicates that a particular tool/api was used.

Usage will be dumped at the end of the instrumentation run.

Parameters
usage String

version String