CrossedFence

@JsonClass(generateAdapter = true)
data class CrossedFence(    val fenceId: String,     val fenceName: String,     val crossTime: Instant,     val location: LocationDetails) : Comparable<CrossedFence> , Parcelable

A CrossedFence records details when a Fence is crossed. Useful to determine and inspect the list of crossed fences when a Travel Path condition is used.

Constructors

Link copied to clipboard
fun CrossedFence(    fenceId: String,     fenceName: String,     crossTime: Instant,     location: LocationDetails)

Properties

Link copied to clipboard
val crossTime: Instant
Link copied to clipboard
val fenceId: String
Link copied to clipboard
val fenceName: String
Link copied to clipboard
val location: LocationDetails

Functions

Link copied to clipboard
open operator override fun compareTo(other: CrossedFence): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun toJson(): String

Convert this object to JSON.

Inherited functions

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