Editor

abstract class 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().

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun addIdentifier(@NonNull @Size(min = 1, max = 255) key: String, @NonNull @Size(min = 1, max = 255) value: String): AssociatedIdentifiers.Editor
Adds an identifier.
Link copied to clipboard
open fun apply()
Applies the identifiers changes.
Link copied to clipboard
Clears all the identifiers.
Link copied to clipboard
Removes both the Android advertising ID and the limit ad tracking enabled value.
Link copied to clipboard
Removes the identifier.
Link copied to clipboard
open fun setAdvertisingId(@NonNull @Size(min = 1, max = 255) adId: String, limitAdTrackingEnabled: Boolean): AssociatedIdentifiers.Editor
Sets the Android advertising ID and the limit ad tracking enabled value.