setInteraction

open fun setInteraction(    @Nullable @Size(min = 1, max = 255) interactionType: String,     @Nullable @Size(min = 1, max = 255) interactionId: String): CustomEvent.Builder

Sets the interaction type and ID for the event.

If any non-property field exceeds MAX_CHARACTER_LENGTH characters it will cause the event to be invalid.

Return

The custom event builder.

Parameters

interactionType

The event's interaction type.

interactionId

The event's interaction ID.