ICreateRoadEventView | iOS SDK | 2GIS Documentation
iOS SDK

ICreateRoadEventView

Traffic event creation interface protocol.

Properties

Visible area given the size of the road event creation card.

((UIEdgeInsets) -> ())?

Callback closure when the visible area changes.

(() -> ())?

Callback closure when the cancel button is pressed.

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

Closes the callback with a road event creation result.