ConflictEvent

class ConflictEvent(val tagGroups: Map<String, Set<String>> = emptyMap(), val attributes: Map<String, JsonValue> = emptyMap(), val subscriptionLists: Map<String, Set<Scope>> = emptyMap(), val associatedChannels: List<ConflictEvent.ChannelInfo> = emptyList(), val conflictingNameUserId: String? = null)

Conflict event is generated if an anonymous contact with tags, subscriptions, attributes, or associated channels is going to be dropped due to a contact change. The app can listen for this event to migrate the data.

Constructors

Link copied to clipboard
constructor(tagGroups: Map<String, Set<String>> = emptyMap(), attributes: Map<String, JsonValue> = emptyMap(), subscriptionLists: Map<String, Set<Scope>> = emptyMap(), associatedChannels: List<ConflictEvent.ChannelInfo> = emptyList(), conflictingNameUserId: String? = null)

Types

Link copied to clipboard
class ChannelInfo(val channelId: String, val channelType: ChannelType)

Channel Info.

Properties

Link copied to clipboard

A list of associated contacts.

Link copied to clipboard

Contact attributes.

Link copied to clipboard

The named user ID if the conflict was caused by an identify operation

Link copied to clipboard

Contact subscription lists.

Link copied to clipboard

Contact tag groups.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String