Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.

AdvertisingIdInfo

public abstract class AdvertisingIdInfo
extends Object

java.lang.Object
   ↳ androidx.ads.identifier.AdvertisingIdInfo


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

Summary

Public methods

abstract String getId()

Retrieves the Advertising ID.

abstract String getProviderPackageName()

Retrieves the Advertising ID provider package name.

abstract boolean isLimitAdTrackingEnabled()

Retrieves whether the user has set Limit Advertising Tracking.

Inherited methods

Public methods

getId

public abstract String getId ()

Retrieves the Advertising ID.

Returns
String

getProviderPackageName

public abstract String getProviderPackageName ()

Retrieves the Advertising ID provider package name.

Returns
String

isLimitAdTrackingEnabled

public abstract boolean isLimitAdTrackingEnabled ()

Retrieves whether the user has set Limit Advertising Tracking.

Returns
boolean