Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
public static final class

AdvertisingIdClient.Info

extends Object
java.lang.Object
   ↳ com.google.android.gms.ads.identifier.AdvertisingIdClient.Info

Class Overview

Includes both the advertising ID as well as the limit ad tracking setting.

Summary

Public Constructors
AdvertisingIdClient.Info (String advertisingId, boolean limitAdTrackingEnabled)
Public Methods
String getId ()
Retrieves the advertising ID.
boolean isLimitAdTrackingEnabled ()
Retrieves whether the user has limit ad tracking enabled or not.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AdvertisingIdClient.Info (String advertisingId, boolean limitAdTrackingEnabled)

Public Methods

public String getId ()

Retrieves the advertising ID.

public boolean isLimitAdTrackingEnabled ()

Retrieves whether the user has limit ad tracking enabled or not.