SpeedLimitViewModel

public final class SpeedLimitViewModel : ObservableObject, Equatable

Important

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

    Swift

    @Published
    public var speed: Measurement<UnitSpeed> { get set }
  • Declaration

    Swift

    @Published
    public var speedLimit: Measurement<UnitSpeed>? { get set }
  • Declaration

    Swift

    @Published
    public var isVisible: Bool { get set }
  • Declaration

    Swift

    @Published
    public var speedUnit: UnitSpeed { get set }
  • Declaration

    Swift

    public static func == (lhs: SpeedLimitViewModel, rhs: SpeedLimitViewModel) -> Bool
  • Declaration

    Swift

    public func reset()