FenceInfo

data class FenceInfo(    val id: String?,     val name: String?,     val applicationId: String?,     val geometry: Geometry?,     val description: String?) : Parcelable

FenceInfo contains details of each fence created inside a zone

Example:

        FenceInfo{
geometry=Circle{radius=70.05617546362394, center=-37.88779370424774,144.72884061177632},
id='aca84e47-b17a-4c64-a261-ff09cb963b69',
name='Fence 0',
description='',
applicationId='<Project-ID>'
}

Constructors

Link copied to clipboard
fun FenceInfo(    id: String?,     name: String?,     applicationId: String?,     geometry: Geometry?,     description: String?)

Properties

Link copied to clipboard
val applicationId: String?

is projectId of the Project inside which the zone is created in canvas

Link copied to clipboard
val description: String?
Link copied to clipboard
val geometry: Geometry?

is type of fence like Circle, BoundingBox, Polygon or Point

Link copied to clipboard
val id: String?

Auto generated unique id of the fence

Link copied to clipboard
val name: String?

is added by user while creating a fence for a zone in canvas

Functions

Link copied to clipboard
open override fun toString(): String

Inherited functions

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