NotificationZoneInfo

@JsonClass(generateAdapter = true)
data class NotificationZoneInfo(    val id: UUID,     val name: String,     val customData: Map<String, String>) : Parcelable

This class stores zone details of the zone for which Entry or Exit event is triggered

Zone details are set at Canvas. To get zone details in json format call toJson() function

Example:

NotificationZoneInfo(id=db66fd09-96ad-44a5-8d10-e999029b53bf,
name=005-Circle-CD-NC-CO,
customData={customKey1=customValue1})

Constructors

Link copied to clipboard
fun NotificationZoneInfo(    id: UUID,     name: String,     customData: Map<String, String>)

Properties

Link copied to clipboard
val customData: Map<String, String>

is assigned from Zone settings in Canvas

Link copied to clipboard
val id: UUID

is auto generated Unique Id(Zone Id) when a zone is created in Canvas

Link copied to clipboard
val name: String

is assigned while creating the zone by user.

Functions

Link copied to clipboard
fun toJson(): String

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)