[homekit] Fix enum breaking change (#1673)

Adding new enum values without numbering them in the middle of others will
change the numbering of the subsequent enum values.
This commit is contained in:
Vincent Dondain 2017-02-10 11:42:35 -05:00 коммит произвёл Sebastien Pouliot
Родитель 58ed0b1866
Коммит 99e5bd70d1
1 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -411,14 +411,6 @@ namespace XamCore.HomeKit {
[Field ("HMCharacteristicTypeImageMirroring")]
ImageMirroring,
[iOS (10,3), Watch (3,2), TV (10,2)]
[Field ("HMCharacteristicTypeLabelNamespace")]
LabelNamespace,
[iOS (10,3), Watch (3,2), TV (10,2)]
[Field ("HMCharacteristicTypeLabelIndex")]
LabelIndex,
[NoWatch]
[iOS (10,2), TV (10,1)]
[Field ("HMCharacteristicTypeActive")]
@ -557,6 +549,14 @@ namespace XamCore.HomeKit {
[iOS (9,0), Watch (2,0), TV (10,0)]
[Field ("HMCharacteristicTypeSecuritySystemAlarmType")]
SecuritySystemAlarmType,
[iOS (10,3), Watch (3,2), TV (10,2)]
[Field ("HMCharacteristicTypeLabelNamespace")]
LabelNamespace,
[iOS (10,3), Watch (3,2), TV (10,2)]
[Field ("HMCharacteristicTypeLabelIndex")]
LabelIndex,
}
// conveniance enum (ObjC uses NSString)