Vehicle

public protocol Vehicle

Specifies the vehicle (or lack of one).

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Specifies the max speed of the vehicle.

    Declaration

    Swift

    var maxSpeed: Measurement<UnitSpeed>? { get }
  • Specifies the number of vehicle axles.

    Declaration

    Swift

    var numberOfAxles: Int? { get }