Bicycle
public struct Bicycle : Vehicle
A vehicle of type bicycle.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Declaration
Swift
public init(maxSpeed: Measurement<UnitSpeed>? = defaultMaxSpeed)
Parameters
maxSpeed
Specifies the max speed fot the bicycle.
-
Specifies bicycle default max speed.
Declaration
Swift
public static let defaultMaxSpeed: Measurement<UnitSpeed>
-
Specifies the max speed of the vehicle.
Declaration
Swift
public let maxSpeed: Measurement<UnitSpeed>?
-
Specifies the vehicle type for the specified route.
Declaration
Swift
public let type: VehicleType