AreaIncident

class AreaIncident(val id: IncidentId, val location: GeoCoordinates, val category: String, val validToTimestamp: Long, val area: Area) : Incident

Class representing incident in specified area

Constructors

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

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
val area: Area

area affected by incident

Link copied to clipboard
open override val category: String

incident category

Link copied to clipboard
open override val id: IncidentId

incident identifier

Link copied to clipboard
open override val location: GeoCoordinates

incident location

Link copied to clipboard
open override val validToTimestamp: Long

validity UNIX timestamp