public class

AnalyticsBasedUsageTracker.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.test.internal.runner.tracker.AnalyticsBasedUsageTracker.Builder

Overview

Builder for AnalyticsBasedUsageTracker.

Summary

Constructors
publicBuilder(Context targetContext)

Methods
public UsageTrackerbuildIfPossible()

public AnalyticsBasedUsageTracker.BuilderwithAnalyticsUri(Uri analyticsUri)

public AnalyticsBasedUsageTracker.BuilderwithApiLevel(java.lang.String apiLevel)

public AnalyticsBasedUsageTracker.BuilderwithModel(java.lang.String model)

public AnalyticsBasedUsageTracker.BuilderwithScreenResolution(java.lang.String resolutionVal)

public AnalyticsBasedUsageTracker.BuilderwithTargetPackage(java.lang.String targetPackage)

public AnalyticsBasedUsageTracker.BuilderwithTrackingId(java.lang.String trackingId)

public AnalyticsBasedUsageTracker.BuilderwithUserId(java.lang.String userId)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder(Context targetContext)

Methods

public AnalyticsBasedUsageTracker.Builder withTrackingId(java.lang.String trackingId)

public AnalyticsBasedUsageTracker.Builder withAnalyticsUri(Uri analyticsUri)

public AnalyticsBasedUsageTracker.Builder withApiLevel(java.lang.String apiLevel)

public AnalyticsBasedUsageTracker.Builder withScreenResolution(java.lang.String resolutionVal)

public AnalyticsBasedUsageTracker.Builder withUserId(java.lang.String userId)

public AnalyticsBasedUsageTracker.Builder withModel(java.lang.String model)

public AnalyticsBasedUsageTracker.Builder withTargetPackage(java.lang.String targetPackage)

public UsageTracker buildIfPossible()