TNTransportationMode

@objc
public enum TNTransportationMode : Int, RawRepresentable, CaseIterable, Codable

Define classification the trip transportation mode by auto and manual classification

Auto classification align by the type defined in {@link DriverPassengerClassificationEvent.ClassificationResultType} Manual classification defined and used from API.

  • Undocumented

    Declaration

    Swift

    case DRIVER
  • Undocumented

    Declaration

    Swift

    case PASSENGER
  • Undocumented

    Declaration

    Swift

    case TRAIN
  • Undocumented

    Declaration

    Swift

    case AIRPLANE
  • Undocumented

    Declaration

    Swift

    case BIKE
  • Undocumented

    Declaration

    Swift

    case BOAT
  • BUS

    Undocumented

    Declaration

    Swift

    case BUS
  • Undocumented

    Declaration

    Swift

    case MOTORCYCLE
  • Undocumented

    Declaration

    Swift

    case FOOT
  • Undocumented

    Declaration

    Swift

    case OTHER
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Declaration

    Swift

    public typealias RawValue = String
  • Declaration

    Swift

    public var rawValue: RawValue { get }
  • Declaration

    Swift

    public init?(rawValue: RawValue)
  • Undocumented

    Declaration

    Swift

    public static func parseType(type: String?) -> TNTransportationMode