TNDriveEvent

@objcMembers
public class TNDriveEvent : TNBroadcastEvent

When DriveMotion detects a safety event, an instance of TNDriveEvent will be broadcast.

  • Event(see {@link DMEvent}) detected.

    Declaration

    Swift

    public let event: DMEvent
  • Undocumented

    Declaration

    Swift

    public init(tripId: String, sessionId: String, time: Date, event: DMEvent)
  • Undocumented

    Declaration

    Swift

    public required init(from decoder: Decoder) throws