Registration
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
com.salesforce.marketingcloud.registration
1data class RegistrationA data class representing device registration information for the Salesforce Marketing Cloud SDK.
1@JvmField
2val appId: StringThe application identifier.
1@JvmField
2val appVersion: StringThe version of the application.
1@JvmField
2val attributes: Map<String, String>A map of custom attributes associated with the registration.
1@JvmField
2val contactKey: String?The contact key identifier (nullable).
1@JvmField
2val deviceId: StringThe unique device identifier.
1@JvmField
2val dst: BooleanDaylight saving time indicator.
1@JvmField
2val hwid: StringHardware identifier.
1@JvmField
2val locale: StringThe device locale setting.
1@JvmField
2val locationEnabled: BooleanIndicates whether location services are enabled.
1@JvmField
2val platform: StringThe platform name (e.g., Android).
1@JvmField
2val platformVersion: StringThe version of the platform/OS.
1@JvmField
2val proximityEnabled: BooleanIndicates whether proximity features are enabled.
1@JvmField
2val pushEnabled: BooleanIndicates whether push notifications are enabled.
1@JvmField
2val sdkVersion: StringThe version of the Marketing Cloud SDK.
1@JvmField
2val signedString: String?A signed string for authentication (nullable).
1@JvmField
2val systemToken: String?The system token for push notifications (nullable).
1@JvmField
2val tags: Set<String>A set of tags associated with the registration.
1@JvmField
2val timeZone: IntThe time zone offset in minutes.
Each property has a corresponding getter method with the same name:
1fun appId(): StringReturns the application identifier.
1fun appVersion(): StringReturns the application version.
1fun attributes(): Map<String, String>Returns the attributes map.
1fun contactKey(): String?Returns the contact key (nullable).
1fun deviceId(): StringReturns the device identifier.
1fun dst(): BooleanReturns the daylight saving time status.
1fun hwid(): StringReturns the hardware identifier.
1fun locale(): StringReturns the locale.
1fun locationEnabled(): BooleanReturns the location enabled status.
1fun platform(): StringReturns the platform name.
1fun platformVersion(): StringReturns the platform version.
1fun proximityEnabled(): BooleanReturns the proximity enabled status.
1fun pushEnabled(): BooleanReturns the push enabled status.
1fun sdkVersion(): StringReturns the SDK version.
1fun signedString(): String?Returns the signed string (nullable).
1fun systemToken(): String?Returns the system token (nullable).
1fun tags(): Set<String>Returns the set of tags.
1fun timeZone(): IntReturns the time zone offset.