AttributesEditor
Identity
IdentityEditor
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
Package: com.salesforce.marketingcloud.sfmcsdk.components.identity
Platform: androidJvm
SDK Version: 11.0.0
The IdentityEditor class wraps the Identity.Builder functions to provide an idiomatic Kotlin syntax for modifying identity information.
This class enables convenient editing of identity data using Kotlin DSL syntax. It supports both Marketing Cloud Engagement and Mobile App Messaging identity attributes.
1SFMCSdk.requestSdk { sdk ->
2 sdk.identity.edit {
3 profileId = "John"
4 }
5}1val attributes: AttributesEditorProvides an AttributesEditor for modifying the attribute map. These attributes are shared between Marketing Cloud Engagement and Mobile App Messaging.
1var partyIdentificationName: String?The identity name used by Mobile App Messaging.
1var partyIdentificationNumber: String?A unique identifier number for the user in Mobile App Messaging (e.g., “party-123”).
1var partyIdentificationType: String?The identity’s category or classification used by Mobile App Messaging.
1var profileId: String?The profile identifier used by Marketing Cloud Engagement.