VehicleInfo

@objc(ZDVehicleInfo)
public final class VehicleInfo : NSObject

Wrapper for meta-information related to a vehicle.

  • The unique identifier for the vehicle.

    This should not be nil, should not have more than 64 characters and should satisfy Zendrive.isValidInputParameter(_:).

    Declaration

    Swift

    @objc
    public var vehicleId: String
  • The mac address of vehicles’s bluetooth device.

    Declaration

    Swift

    @objc
    public var bluetoothId: String
  • Initializer for VehicleInfo.

    Declaration

    Swift

    public override convenience init()
  • Initializer for VehicleInfo.

    Declaration

    Swift

    @objc
    public convenience init(vehicleId: String,
                            bluetoothId: String)

    Parameters

    vehicleId

    The identifier for the vehicle.

    bluetoothId

    The mac address of vehicle’s bluetooth device.