ru.dgis.sdk.road_events.RoadEventCardModel | Android SDK | 2GIS Documentation

RoadEventCardModel

Traffic event card model.

RoadEventCardModel(
	event: RoadEvent,
	photoSize: StatefulChannel<ScreenSize>,
	context: Context
)

Traffic event card model.

Parameters
Methods
Properties

Name, e.g. "Closure".

Description, e.g. "Road works".

Affected lanes, e.g. "Left lane, middle lane".

Schedule, for example, "October 10th 08:00 - October 15th 23:30".

Creation time, e.g. "5 hours ago", "August 5", "December 10, 2020".

Author, for example, "2GIS".

Notification about action completion.

Notification about event deletion completion.