java.lang.Object | |
↳ | com.urbanairship.analytics.AssociatedIdentifiers.Editor |
Interface use to modify identifiers in the AssociatedIdentifiers object. All changes you make in the editor are batched, and not saved until you call apply().
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Editor() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AssociatedIdentifiers.Editor |
addIdentifier(String key, String value)
Adds an identifier.
| ||||||||||
void |
apply()
Applies the identifiers changes.
| ||||||||||
AssociatedIdentifiers.Editor |
clear()
Clears all the identifiers.
| ||||||||||
AssociatedIdentifiers.Editor |
removeAdvertisingId()
Removes both the Android advertising ID and the limit ad tracking enabled value.
| ||||||||||
AssociatedIdentifiers.Editor |
removeIdentifier(String key)
Removes the identifier.
| ||||||||||
AssociatedIdentifiers.Editor |
setAdvertisingId(String adId, boolean limitAdTrackingEnabled)
Sets the Android advertising ID and the limit ad tracking enabled value.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Adds an identifier.
key | The custom ID's key. |
---|---|
value | The custom ID's value. |
Applies the identifiers changes.
Clears all the identifiers.
Identifiers will be cleared first during apply, then the other operations will be applied.
Removes both the Android advertising ID and the limit ad tracking enabled value.
Removes the identifier.
key | The custom ID's key. |
---|
Sets the Android advertising ID and the limit ad tracking enabled value.
adId | The Android advertising ID. |
---|---|
limitAdTrackingEnabled | A boolean indicating whether the user has limit ad tracking enabled or not. |