Incident

open class Incident(val id: IncidentId, val location: GeoCoordinates, val category: String, val validToTimestamp: Long) : Parcelable

Class representing general incident

Inheritors

Constructors

Link copied to clipboard
constructor(id: IncidentId, location: GeoCoordinates, category: String, validToTimestamp: Long)

Properties

Link copied to clipboard
open val category: String

incident category

Link copied to clipboard
open val id: IncidentId

incident identifier

Link copied to clipboard

incident location

Link copied to clipboard

validity UNIX timestamp

Functions

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