TrafficControlState | iOS SDK | 2GIS Documentation
iOS SDK

TrafficControlState

The state of the traffic control.

public init(
    status: TrafficControlStatus = TrafficControlStatus.hidden,
    score: UInt32?
)
Parameters
Properties

Status, depending on which changes the appearance of the control.

Traffic score. Displayed as an inscription on the control. If absent, a blank icon is displayed.