java.lang.Object | |
↳ | com.urbanairship.analytics.Event |
Known Direct Subclasses |
This abstract class encapsulates analytics events.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
@interface | Event.Priority |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | HIGH_PRIORITY | High priority event. | |||||||||
int | LOW_PRIORITY | Low priority event. | |||||||||
int | NORMAL_PRIORITY | Normal priority event. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Event(long timeMS)
Constructor for Event.
| |||||||||||
Event()
Constructor for Event using the current time.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getConnectionSubType()
Returns the connection subtype.
| ||||||||||
String |
getConnectionType()
Returns the connection type.
| ||||||||||
String |
getEventId()
Returns the UUID associated with the event.
| ||||||||||
int |
getPriority()
The event's send priority.
| ||||||||||
String |
getTime()
Returns the timestamp associated with the event.
| ||||||||||
abstract String |
getType()
The event type.
| ||||||||||
boolean |
isValid()
Validates the Event.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getCarrier()
Returns the current carrier.
| ||||||||||
long |
getTimezone()
Returns the current time zone.
| ||||||||||
boolean |
isDaylightSavingsTime()
Indicates whether it is currently daylight savings time.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
High priority event.
Low priority event.
Normal priority event.
Constructor for Event.
timeMS | The time of the event in milliseconds. |
---|
Constructor for Event using the current time.
Returns the connection subtype.
Returns the connection type.
The event's send priority.
Returns the timestamp associated with the event.
Validates the Event.
Returns the current time zone.
Indicates whether it is currently daylight savings time.
true
if it is currently daylight savings time, false
otherwise.