RegionEvent

A RegionEvent defines a region with an identifier, major and minor and optional proximityRegion and/or circularRegion.

Types

Link copied to clipboard
annotation class Boundary
Link copied to clipboard
open class Builder
Builder class for RegionEvent Objects.

Properties

Link copied to clipboard
Enter boundary event.
Link copied to clipboard
Exit boundary event.
Link copied to clipboard
The type of boundary crossing event.
Link copied to clipboard
The maximum length for any region event string.
Link copied to clipboard
val MAX_LATITUDE: Double = 90.0
The maximum latitude for a region in degrees.
Link copied to clipboard
val MAX_LONGITUDE: Double = 180.0
The maximum longitude for a region in degrees.
Link copied to clipboard
val MIN_LATITUDE: Double = -90.0
The minimum latitude for a region in degrees.
Link copied to clipboard
val MIN_LONGITUDE: Double = -180.0
The minimum longitude for a region in degrees.
Link copied to clipboard
val REGION_ID: String = "region_id"
The region ID key.
Link copied to clipboard
The ID of the region.

Inherited 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.

Functions

Link copied to clipboard
open fun getPriority(): Int
The event's send priority.
Link copied to clipboard
open fun isValid(): Boolean
Validates the Event.
Link copied to clipboard
Builder factory method.
Link copied to clipboard
Returns the objects represented as a JsonValue.

Inherited functions

Link copied to clipboard
Returns the connection subtype.
Link copied to clipboard
Returns the connection type.
Link copied to clipboard
open fun getTime(): String
Returns the timestamp associated with the event.