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

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