IdentityEditor

Package: com.salesforce.marketingcloud.sfmcsdk.components.identity

Platform: androidJvm

SDK Version: 11.0.0

Overview 

The IdentityEditor class wraps the Identity.Builder functions to provide an idiomatic Kotlin syntax for modifying identity information.

Description 

This class enables convenient editing of identity data using Kotlin DSL syntax. It supports both Marketing Cloud Engagement and Mobile App Messaging identity attributes.

Usage Example 

1SFMCSdk.requestSdk { sdk ->
2  sdk.identity.edit {
3    profileId = "John"
4  }
5}

Properties 

attributes 

1val attributes: AttributesEditor

Provides an AttributesEditor for modifying the attribute map. These attributes are shared between Marketing Cloud Engagement and Mobile App Messaging.


partyIdentificationName 

1var partyIdentificationName: String?

The identity name used by Mobile App Messaging.


partyIdentificationNumber 

1var partyIdentificationNumber: String?

A unique identifier number for the user in Mobile App Messaging (e.g., “party-123”).


partyIdentificationType 

1var partyIdentificationType: String?

The identity’s category or classification used by Mobile App Messaging.


profileId 

1var profileId: String?

The profile identifier used by Marketing Cloud Engagement.