Incident

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

Class representing general incident

Constructors

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

Functions

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

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

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard