Geofence

This class represents a geofence object There can be different types of geofences Circular and Polygon at the moment, and a geofence can or cannot have a venue attached to it.

Constructors

Link copied to clipboard
fun Geofence(id: String, name: String?, venueId: String?, categoryIds: List<String>, chainIds: List<String>, partnerVenueId: String?, geofenceBoundary: Boundary, dwellTime: Long, venue: Venue?, type: GeofenceType, properties: Map<String, String>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun describeContents(): Int
Link copied to clipboard
open override fun writeToParcel(dest: Parcel, flags: Int)

Properties

Link copied to clipboard
@SerializedName(value = "categoryIds")
var categoryIds: List<String>? = null
Link copied to clipboard
@SerializedName(value = "chainIds")
var chainIds: List<String>? = null
Link copied to clipboard
@SerializedName(value = "dwellTime")
var dwellTime: Long = 0
Link copied to clipboard
@SerializedName(value = "id")
var id: String
Link copied to clipboard
@SerializedName(value = "name")
var name: String? = null
Link copied to clipboard
@SerializedName(value = "partnerVenueId")
var partnerVenueId: String? = null
Link copied to clipboard
@SerializedName(value = "properties")
val properties: Map<String, String>
Link copied to clipboard
@SerializedName(value = "type")
val type: GeofenceType
Link copied to clipboard
@SerializedName(value = "venue")
var venue: Venue? = null
Link copied to clipboard
@SerializedName(value = "venueId")
var venueId: String? = null