Editor

interface Editor

This class handles the setting of customer configurable values in the SDK. All validation for length, type, nullability, etc. is completed within the editor. When the editor's commit method is called the SDK will compare the running configuration to the previously successfully processed configuration. If there have been any changes they will be stored locally and transmitted to the Marketing Cloud Servers.

Functions

Link copied to clipboard
Adds the provided to tag to the registration.
Link copied to clipboard
Adds the Iterable provided to tags.
Adds the Collection provided to tags.
Link copied to clipboard
Clear the value for the attributes of the key provided.
Link copied to clipboard
Clear the value for the attribute of the keys provided.
Clear the value for the attributes of the keys provided.
Link copied to clipboard
Removes all customer configured tags.
Link copied to clipboard
abstract fun commit(): Boolean
You must call this method for your changes to be stored locally and transmitted to the Marketing Cloud Servers.
Link copied to clipboard
Removes the provided tag from the tags in your registration.
Link copied to clipboard
Removes the tags provided from the registration
Removes the Collection provided from tags.
Link copied to clipboard
abstract fun setAttribute(@NonNull @Size(min = 1, max = 128) key: String, @NonNull value: String): RegistrationManager.Editor
Sets a key/value pair as an attribute in the registration.
Link copied to clipboard
abstract fun setContactKey(@NonNull @Size(min = 1) contactKey: String): RegistrationManager.Editor
Setter for contactKey which was formerly known in the SDK as SubscriberKey.
Link copied to clipboard
abstract fun setSignedString(@Nullable @Size(min = 1) signedString: String): RegistrationManager.Editor
Setter for "Signed String" in the SDK.