Intents watchOS 7.0 Beta 4 to Beta 5 API Differences

INCar.h
Declaration
From- (instancetype)initWithCarIdentifier:(NSString *)carIdentifier displayName:(NSString *)displayName year:(NSNumber *)year make:(NSString *)make model:(NSString *)model color:(INColor *)color headUnit:(INHeadUnit *)headUnit supportedChargingConnectors:(INChargingConnectorTypeOptions)supportedChargingConnectors
To- (instancetype)initWithCarIdentifier:(NSString *)carIdentifier displayName:(NSString *)displayName year:(NSString *)year make:(NSString *)make model:(NSString *)model color:(CGColorRef)color headUnit:(INCarHeadUnit *)headUnit supportedChargingConnectors:(NSArray<INCarChargingConnectorType> *)supportedChargingConnectors

Modified INCar.year
Declaration
From@property (nonatomic, readonly, copy) NSNumber *year
To@property (nonatomic, readonly, copy) NSString *year

Modified INCar.color
Declaration
From@property (nonatomic, readonly, copy) INColor *color
To@property (nonatomic, readonly) CGColorRef color

Declaration
From@property (nonatomic, readonly, copy) INHeadUnit *headUnit
To@property (nonatomic, readonly, copy) INCarHeadUnit *headUnit

Declaration
From@property (nonatomic, readonly, assign) INChargingConnectorTypeOptions supportedChargingConnectors
To@property (nonatomic, readonly, copy) NSArray<INCarChargingConnectorType> *supportedChargingConnectors

Declaration
From- (void)setMaximumPower:(NSMeasurement<NSUnitPower *> *)power forChargingConnectorType:(INChargingConnectorTypeOptions)chargingConnectorType
To- (void)setMaximumPower:(NSMeasurement<NSUnitPower *> *)power forChargingConnectorType:(INCarChargingConnectorType)chargingConnectorType

Declaration
From- (NSMeasurement<NSUnitPower *> *)maximumPowerForChargingConnectorType:(INChargingConnectorTypeOptions)chargingConnectorType
To- (NSMeasurement<NSUnitPower *> *)maximumPowerForChargingConnectorType:(INCarChargingConnectorType)chargingConnectorType

INCarChargingConnectorType.h
Added INCarChargingConnectorType
Added INCarChargingConnectorTypeNone
Added INCarChargingConnectorTypeJ1772
Added INCarChargingConnectorTypeCCS1
Added INCarChargingConnectorTypeCCS2
Added INCarChargingConnectorTypeCHAdeMO
Added INCarChargingConnectorTypeGBTAC
Added INCarChargingConnectorTypeGBTDC
Added INCarChargingConnectorTypeTesla
Added INCarChargingConnectorTypeMennekes
INCarHeadUnit.h
Added INCarHeadUnit
Added -[INCarHeadUnit initWithBluetoothIdentifier:iAP2Identifier:]
Added INCarHeadUnit.bluetoothIdentifier
Added INCarHeadUnit.iAP2Identifier
INChargingConnectorTypeOptions.h
INGetCarPowerLevelStatusIntentResponse.h
Added INGetCarPowerLevelStatusIntentResponse.maximumDistance
Added INGetCarPowerLevelStatusIntentResponse.maximumDistanceElectric
Added INGetCarPowerLevelStatusIntentResponse.distanceRemainingFuel
Added INGetCarPowerLevelStatusIntentResponse.maximumDistanceFuel
Added INGetCarPowerLevelStatusIntentResponse.maximumBatteryCapacity
Added INGetCarPowerLevelStatusIntentResponse.minimumBatteryCapacity
Declaration
From@property (nonatomic, readwrite, assign) INChargingConnectorTypeOptions activeConnector
To@property (nonatomic, readwrite, copy) INCarChargingConnectorType activeConnector

INHeadUnit.h
Removed INHeadUnit
INShortcutAvailabilityOptions.h