com.salesforce.marketingcloud.registration.RegistrationManager |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | RegistrationManager.Editor | This class handles the setting of customer configurable values in the SDK. | |||||||||
interface | RegistrationManager.RegistrationEventListener |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | MAX_MT_ATTRIBUTE_KEY_SIZE |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract RegistrationManager.Editor |
edit()
Returns an instance of
RegistrationManager.Editor which can be used to update the SDK's configurable values like
contactKey, attributes or tags. | ||||||||||
abstract Map<String, String> |
getAttributes()
Getter for attributes map.
| ||||||||||
abstract String |
getContactKey()
Getter for contactKey, formerly known as SubscriberKey in the SDK.
| ||||||||||
abstract String |
getDeviceId()
Getter for the running device's unique identifier.
| ||||||||||
abstract String |
getSignedString()
Getter for "Signed String"
| ||||||||||
abstract String |
getSystemToken()
Getter for Google's Push Notification Token
| ||||||||||
abstract Set<String> |
getTags()
Getter for tags
| ||||||||||
abstract void |
registerForRegistrationEvents(RegistrationManager.RegistrationEventListener listener)
Register a
registrationEventListener that will be notified when Registration
related
events happen. | ||||||||||
abstract void |
unregisterForRegistrationEvents(RegistrationManager.RegistrationEventListener listener)
Unregister a
registrationEventListener |
Returns an instance of RegistrationManager.Editor
which can be used to update the SDK's configurable values like
contactKey, attributes or tags.
RegistrationManager.Editor
Getter for attributes map.
Getter for contactKey, formerly known as SubscriberKey in the SDK. The name has been changed to align the SDK with the Salesforce Marketing Cloud Contacts DB. If ContactKey is unset then a random GUID will be set in the Marketing Cloud.
Note: once this value is set from the SDK it may not be empty or null. There is no way to clear or unset a Contact Key.
Getter for the running device's unique identifier.
Getter for "Signed String"
Getter for Google's Push Notification Token
Getter for tags
Register a registrationEventListener
that will be notified when Registration
related
events happen.
listener | the class that implements the interface |
---|
Unregister a registrationEventListener
listener | the class that implements the interface |
---|