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
@NonNull
abstract fun addTag(@NonNull tag: String): RegistrationManager.Editor
Adds the provided to tag to the registration.
Link copied to clipboard
@NonNull
abstract fun addTags(@NonNull tags: Iterable<String>): RegistrationManager.Editor
Adds the Iterable provided to tags.
@NonNull
abstract fun addTags(@NonNull tags: Array<String>): RegistrationManager.Editor
Adds the Collection provided to tags.
Link copied to clipboard
@NonNull
abstract fun clearTags(): RegistrationManager.Editor
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
@NonNull
abstract fun removeTag(@NonNull tag: String): RegistrationManager.Editor
Removes the provided tag from the tags in your registration.
Link copied to clipboard
@NonNull
abstract fun removeTags(@NonNull tags: Iterable<String>): RegistrationManager.Editor
Removes the tags provided from the registration
@NonNull
abstract fun removeTags(@NonNull tags: Array<String>): RegistrationManager.Editor
Removes the Collection provided from tags.
Link copied to clipboard
@NonNull
abstract fun setSignedString(@Nullable @Size(min = 1) signedString: String): RegistrationManager.Editor
Setter for "Signed String" in the SDK.