Event

abstract class Event

This abstract class encapsulates analytics events.

Inheritors

Constructors

Link copied to clipboard
constructor(timeMilliseconds: Long)
Constructor for Event.
constructor()
Constructor for Event using the current time.

Types

Link copied to clipboard
annotation class Priority

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.
Link copied to clipboard
protected val timeMilliseconds: Long

Functions

Link copied to clipboard
protected open fun getCarrier(): String
Returns the current carrier.
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.
Link copied to clipboard
protected open fun getTimezone(): Long
Returns the current time zone.
Link copied to clipboard
protected open fun isDaylightSavingsTime(): Boolean
Indicates whether it is currently daylight savings time.
Link copied to clipboard
open fun isValid(): Boolean
Validates the Event.