IRoadEventCardView | iOS SDK | 2GIS Documentation
iOS SDK

IRoadEventCardView

Road event card protocol.

Methods
Properties
(() -> ())?

Closes the callback when the close button is clicked.

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

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

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

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