CustomEvent

A class that represents a custom event for the application.

Types

Link copied to clipboard
class Builder(@Size(min = 1, max = 255) val eventName: String)

Builder class for com.urbanairship.analytics.CustomEvent Objects.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Event name.

Link copied to clipboard

The event value.

Link copied to clipboard

The interaction ID.

Link copied to clipboard

The interaction type.

Link copied to clipboard

The event properties.

Link copied to clipboard

The transaction ID.

Link copied to clipboard
open override val type: EventType

Inherited properties

Link copied to clipboard

Returns the UUID associated with the event.

Link copied to clipboard
Link copied to clipboard

Returns the timestamp associated with the event.

Functions

Link copied to clipboard
open override fun isValid(): Boolean

Validates the Event.

Link copied to clipboard
open override fun toJsonValue(): JsonValue

Returns the objects represented as a JsonValue.

Link copied to clipboard

Adds the event to Analytics.