java.lang.Object | ||
↳ | com.urbanairship.analytics.Event | |
↳ | com.urbanairship.analytics.location.RegionEvent |
A RegionEvent defines a region with an identifier, major and minor and optional proximityRegion and/or circularRegion.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
@interface | RegionEvent.Boundary | ||||||||||
class | RegionEvent.Builder | Builder class for RegionEvent Objects. |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | BOUNDARY_EVENT_ENTER | Enter boundary event. | |||||||||
int | BOUNDARY_EVENT_EXIT | Exit boundary event. | |||||||||
int | MAX_CHARACTER_LENGTH | The maximum length for any region event string. | |||||||||
double | MAX_LATITUDE | The maximum latitude for a region in degrees. | |||||||||
double | MAX_LONGITUDE | The maximum longitude for a region in degrees. | |||||||||
double | MIN_LATITUDE | The minimum latitude for a region in degrees. | |||||||||
double | MIN_LONGITUDE | The minimum longitude for a region in degrees. | |||||||||
String | REGION_ID | The region ID key. | |||||||||
String | TYPE | The event type. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.urbanairship.analytics.Event
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int |
getBoundaryEvent()
Gets the boundary event type - will be either
BOUNDARY_EVENT_ENTER or
BOUNDARY_EVENT_EXIT . | ||||||||||
int |
getPriority()
The event's send priority.
| ||||||||||
final String |
getType()
The event type.
| ||||||||||
boolean |
isValid()
Validates the Event.
| ||||||||||
static RegionEvent.Builder |
newBuilder()
Builder factory method.
| ||||||||||
JsonValue |
toJsonValue()
Returns the objects represented as a JsonValue.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.urbanairship.analytics.Event
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.urbanairship.json.JsonSerializable
|
Enter boundary event.
Exit boundary event.
The maximum length for any region event string.
The maximum latitude for a region in degrees.
The maximum longitude for a region in degrees.
The minimum latitude for a region in degrees.
The minimum longitude for a region in degrees.
Gets the boundary event type - will be either BOUNDARY_EVENT_ENTER
or
BOUNDARY_EVENT_EXIT
.
The event's send priority.
Validates the Event.
Builder factory method.
Returns the objects represented as a JsonValue.