java.lang.Object | |
↳ | com.google.android.gms.ads.MobileAds.Settings |
This class describes all optional initialization settings that impact the Google Mobile Ads SDK's behavior.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the tracking Id set by
setTrackingId(String) . | |||||||||||
Return
true if Google Analytics is enabled. | |||||||||||
Set whether or not to enable Google Analytics.
| |||||||||||
Set a tracking Id provided by Google Analytics.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Return the tracking Id set by setTrackingId(String)
. Returns null
if it is not set.
Returns | |
---|---|
String |
Return true
if Google Analytics is enabled.
Returns | |
---|---|
boolean |
Set a tracking Id provided by Google Analytics. The tracking Id should match the format UA-XXXXXXXX-X
Parameters | |
---|---|
trackingId |
String
|
Returns | |
---|---|
MobileAds.Settings |