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

RoadEventCardModel

Traffic event card model.

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

Traffic event card model.

Parameters
Methods
Properties

Name, e.g. "Overlap".

Description, e.g. "Repair work".

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

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

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

Author, for example, "2GIS".

Notification about completion of action.

Notification about completion of event deletion.