CustomEvent

A class that represents a custom event for the application.

Types

Link copied to clipboard
open class Builder
Builder class for com.urbanairship.analytics.CustomEvent Objects.

Properties

Link copied to clipboard
val CONVERSION_METADATA: String = "conversion_metadata"
Hard conversion send metadata key.
Link copied to clipboard
val CONVERSION_SEND_ID: String = "conversion_send_id"
Hard conversion send id key.
Link copied to clipboard
val EVENT_NAME: String = "event_name"
The event name key.
Link copied to clipboard
val EVENT_VALUE: String = "event_value"
The event value key.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val INTERACTION_ID: String = "interaction_id"
The interaction ID key.
Link copied to clipboard
val INTERACTION_TYPE: String = "interaction_type"
The interaction type key.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val LAST_RECEIVED_METADATA: String = "last_received_metadata"
Last send metadata key.
Link copied to clipboard
The max size for any String event value.
Link copied to clipboard
The max size of total properties in bytes.
Link copied to clipboard
Rich Push Message interaction type.
Link copied to clipboard
val PROPERTIES: String = "properties"
The custom properties key.
Link copied to clipboard
Link copied to clipboard
val TEMPLATE_TYPE: String = "template_type"
The template type key.
Link copied to clipboard
val TRANSACTION_ID: String = "transaction_id"
The event transaction id key.
Link copied to clipboard

Inherited properties

Link copied to clipboard
Link copied to clipboard
High priority event.
Link copied to clipboard
val LOW_PRIORITY: Int = 0
Low priority event.
Link copied to clipboard
Normal priority event.

Functions

Link copied to clipboard
open fun isValid(): Boolean
Validates the Event.
Link copied to clipboard
Creates a new CustomEvent builder.
Link copied to clipboard
Returns the objects represented as a JsonValue.
Link copied to clipboard
Adds the event to Analytics.

Inherited functions

Link copied to clipboard
Returns the connection subtype.
Link copied to clipboard
Returns the connection type.
Link copied to clipboard
open fun getPriority(): Int
The event's send priority.
Link copied to clipboard
open fun getTime(): String
Returns the timestamp associated with the event.