Registration

data class Registration

Represents a device registration record containing device information, app details, and user attributes along with hash value calculated in lazy manner.

Parameters

eventId

Unique identifier for this registration event

registrationId

Unique identifier for the registration session

deviceId

Unique device identifier

dateTimeInDevice

Timestamp when registration was created on device

deviceSystemToken

Push notification token for the device

pushEnabled

Whether push notifications are enabled

deviceTimeZone

Device's timezone

deviceModel

Device model information

devicePlatform

Device platform (e.g., "Android", "iOS")

deviceVersion

Device OS version

sdkVersion

Marketing Cloud SDK version

mobileAppId

Application identifier

mobileAppName

Human-readable application name

mobileAppVersion

Application version

locale

Device locale setting

attributes

Custom key-value attributes for the user/device

partyIdentificationNumber

User's party identification number

partyIdentificationType

Type of party identification

partyIdentificationName

User's party identification name

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val attributes: Map<String, String>
Link copied to clipboard
val dateTimeInDevice: String
Link copied to clipboard
val deviceId: String
Link copied to clipboard
val deviceModel: String? = null
Link copied to clipboard
val devicePlatform: String
Link copied to clipboard
val deviceSystemToken: String? = null
Link copied to clipboard
val deviceTimeZone: String
Link copied to clipboard
val deviceVersion: String? = null
Link copied to clipboard
val locale: String
Link copied to clipboard
val mobileAppId: String
Link copied to clipboard
val mobileAppName: String? = null
Link copied to clipboard
val mobileAppVersion: String? = null
Link copied to clipboard
val partyIdentificationName: String? = null
Link copied to clipboard
val partyIdentificationNumber: String? = null
Link copied to clipboard
val partyIdentificationType: String? = null
Link copied to clipboard
val pushEnabled: Boolean
Link copied to clipboard
val sdkVersion: String? = null