AdvertisingIdInfo


@AutoValue
@AutoValue.CopyAnnotations
public abstract class AdvertisingIdInfo


Advertising ID Information. Includes both the Advertising ID and the limit ad tracking setting.

Summary

Public methods

abstract @NonNull String

Retrieves the Advertising ID.

abstract @NonNull String

Retrieves the Advertising ID provider package name.

abstract boolean

Retrieves whether the user has set Limit Advertising Tracking.

Public methods

getId

public abstract @NonNull String getId()

Retrieves the Advertising ID.

getProviderPackageName

public abstract @NonNull String getProviderPackageName()

Retrieves the Advertising ID provider package name.

isLimitAdTrackingEnabled

public abstract boolean isLimitAdTrackingEnabled()

Retrieves whether the user has set Limit Advertising Tracking.