IncidentsOptions

class IncidentsOptions

Electronic Horizon supports live incidents on a most probable path. To enable live incidents IncidentsOptions should be provided. If both graph and apiUrl are empty, live incidents are disabled (by default).

Parameters

graph

incidents provider graph name

apiUrl

LTS incidents service API url, if empty line is supplied will use default url

Types

Link copied to clipboard
class Builder

Build a new IncidentsOptions

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Regenerate whenever a change is made

Link copied to clipboard
open override fun hashCode(): Int

Regenerate whenever a change is made

Link copied to clipboard
fun toBuilder(): IncidentsOptions.Builder

Get a builder to customize a subset of current options.

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

Returns a string representation of the object.

Properties

Link copied to clipboard
val apiUrl: String
Link copied to clipboard
val graph: String