This code sample showcases the use of Violation Events Polylines.For detailed information see the Events concept.