IRoadEventCardView | iOS SDK | 2GIS Documentation

IRoadEventCardView

Road event card protocol.

Methods
Properties
(() -> ())?

Closing callback when the close button is clicked.

((Result<(type: RoadEventActionType, result: ActionResult), Error>) -> ())?

Closing the callback when the processing of a traffic event action is completed.

((Result<ActionResult, Error>) -> ())?

Closing the callback when the processing of a traffic event action is completed.