From 99e5bd70d115f731f8aaf4c84640d82cb14b2614 Mon Sep 17 00:00:00 2001 From: Vincent Dondain Date: Fri, 10 Feb 2017 11:42:35 -0500 Subject: [PATCH] [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. --- src/HomeKit/HMEnums.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/HomeKit/HMEnums.cs b/src/HomeKit/HMEnums.cs index 1707fbf17a..986098450f 100644 --- a/src/HomeKit/HMEnums.cs +++ b/src/HomeKit/HMEnums.cs @@ -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)