Releases: highmobility/auto-api-swift
Releases · highmobility/auto-api-swift
10.0.4
10.0.3
10.0.2
7.3.4
7.3.3
10.0.1
10.0.0
Rewritten property-capability-command architecture.
- Properties are wrapped in a new type
AAProperty, with it's main accessors:.value: ValueType?.failure: AAPropertyFailure?.timestamp: Date?
AACapabilityrenamed toAACapabilityValue:- It's
.commandrenamed to.capability
- It's
AACommandrewritten and renamed toAACapability:- Also conforms to
AACapabilityClass
- Also conforms to
- Outgoing commands' methods return a rewritten type
AACommand(used to return[UInt8]):- Has
.bytesaccessor for getting the data to send
- Has
Percentagechanged fromUInt32(0-100 value) toDouble(0.0-1.0 value).
9.0.0
Removed:
- All legacy types.
New:
AAPropertyFailuretype to convey that getting a property failed.
Added:
-
AAFueling.gasFlapLockState: AALockState?.gasFlapPosition: AAPositionState?
-
AALights.fogLights: [AAFogLight]?.readingLamps: [AAReadingLamp]?.interiorLamps: [AAInteriorLamp]?.controlLights(... fogLights: [AAFogLight]?, readingLamps: [AAReadingLamp]?, interiorLamps: [AAInteriorLamp]?)
-
AAMultiCommand.states: [AAVehicleState]?– returned when a multi-command is sent.
Updated:
-
AADoorLocks.insideLocks: [AADoorLock]?.locks: [AADoorLock]?.positions: [AADoorPosition]?
-
AAFailureMessage.reason: AAFailureReason?
-
AAFueling.controlGasFlap(lockState: AALockState?, position: AAPositionState?)– renamed.
-
AALights.frontExterior: AAFrontLightState?