ReducedVisibility

class ReducedVisibility(val dueToHeavyRain: Boolean?, val dueToFog: Boolean?) : DetailedHazardInformation

Represents a hazard due to reduced visibility.

Constructors

Link copied to clipboard
constructor(dueToHeavyRain: Boolean?, dueToFog: Boolean?)

Properties

Link copied to clipboard

True if the reason for reduced visibility is fog. False otherwise. This property is null if the main reason is unknown or related to a different cause.

Link copied to clipboard

True if the reason for reduced visibility is heavy rain. False otherwise. This property is null if the main reason is unknown or related to a different cause.

Functions

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
open override fun toString(): String