java.lang.Object | ||
↳ | com.urbanairship.analytics.Event | |
↳ | com.urbanairship.analytics.CustomEvent |
A class that represents a custom event for the application.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | CustomEvent.Builder | Builder class for CustomEvent Objects. |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | CONVERSION_SEND_ID | Hard conversion send id key. | |||||||||
String | EVENT_NAME | The event name key. | |||||||||
String | EVENT_VALUE | The event value key. | |||||||||
String | INTERACTION_ID | The interaction ID key. | |||||||||
String | INTERACTION_TYPE | The interaction type key. | |||||||||
String | LAST_RECEIVED_SEND_ID | Last send id key. | |||||||||
int | MAX_CHARACTER_LENGTH | The max size for any String event value. | |||||||||
int | MAX_PROPERTIES | The max number of custom properties. | |||||||||
int | MAX_PROPERTY_COLLECTION_SIZE | The max size of a collection that is allowed in a custom property. | |||||||||
String | MCRAP_TRANSACTION_TYPE | Rich Push Message interaction type. | |||||||||
String | PROPERTIES | The custom properties key. | |||||||||
String | TRANSACTION_ID | The event transaction id key. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
final String |
getType()
The event type.
| ||||||||||
boolean |
isValid()
Validates the Event.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
final JSONObject |
getEventData()
Create the event data.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Hard conversion send id key.
The interaction type key.
Last send id key.
The max size for any String event value.
The max number of custom properties.
The max size of a collection that is allowed in a custom property.
Rich Push Message interaction type.
The event transaction id key.
Validates the Event.