-
Notifications
You must be signed in to change notification settings - Fork 0
/
HomeKit.framework.h
6086 lines (5036 loc) · 226 KB
/
HomeKit.framework.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// ========== HomeKit.framework/Headers/HMEvent.h
//
// HMEvent.h
// HomeKit
//
// Copyright (c) 2015 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <HomeKit/HMDefines.h>
@class HMHome;
NS_ASSUME_NONNULL_BEGIN
/*!
* @brief This class is used to represent a generic HomeKit event.
*/
HM_EXTERN API_AVAILABLE(ios(9.0), watchos(2.0), tvos(10.0)) API_UNAVAILABLE(macos)
@interface HMEvent : NSObject
/*!
* @brief A unique identifier for the event.
*/
@property(readonly, copy, nonatomic) NSUUID *uniqueIdentifier;
/*!
* @brief Specifies whether the HMEvent can be added to HMEventTrigger on the given home.
*/
+ (BOOL)isSupportedForHome:(HMHome *)home API_AVAILABLE(ios(11.0), watchos(4.0), tvos(11.0));
@end
NS_ASSUME_NONNULL_END
// ========== HomeKit.framework/Headers/HMPresenceEventDefines.h
//
// HMPresenceEventDefines.h
// HomeKit
//
// Copyright © 2017 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <HomeKit/HMDefines.h>
/*!
* @abstract This enumeration describes the different types of presence events.
*/
API_AVAILABLE(ios(11.0), watchos(4.0), tvos(11.0)) API_UNAVAILABLE(macos)
typedef NS_ENUM(NSUInteger, HMPresenceEventType)
{
/*!
* This corresponds to trigger an event for every user entering a home.
* This cannot be added as predicate.
*/
HMPresenceEventTypeEveryEntry = 1,
/*!
* This corresponds to trigger an event for every user exiting a home.
* This cannot be added as predicate.
*/
HMPresenceEventTypeEveryExit = 2,
/*!
* This corresponds to trigger an event for the first user entering a home.
*/
HMPresenceEventTypeFirstEntry = 3,
/*!
* This corresponds to trigger an event for the last user exiting a home.
*/
HMPresenceEventTypeLastExit = 4,
/*!
* Convenience value for First Entry to use in predicate of HMEventTrigger.
*/
HMPresenceEventTypeAtHome = HMPresenceEventTypeFirstEntry,
/*!
* Convenience value for Last Exit to use in predicate of HMEventTrigger.
*/
HMPresenceEventTypeNotAtHome = HMPresenceEventTypeLastExit,
};
/*!
* @abstract This enumeration describes the different types of user sets in presence events.
*/
API_AVAILABLE(ios(11.0), watchos(4.0), tvos(11.0)) API_UNAVAILABLE(macos)
typedef NS_ENUM(NSUInteger, HMPresenceEventUserType)
{
/*!
* Only current user's presence is used.
*/
HMPresenceEventUserTypeCurrentUser = 1,
/*!
* Presence of all home users is used.
*/
HMPresenceEventUserTypeHomeUsers = 2,
/*!
* Presence of custom set of home users is used.
*/
HMPresenceEventUserTypeCustomUsers = 3,
};
// ========== HomeKit.framework/Headers/HMCameraStream.h
//
// HMCameraStream.h
// HomeKit
//
// Copyright © 2016 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <HomeKit/HMDefines.h>
#import <HomeKit/HMCameraSource.h>
#import <HomeKit/HMCameraDefines.h>
NS_ASSUME_NONNULL_BEGIN
/*!
* @abstract Represents a camera stream.
*/
HM_EXTERN API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0)) API_UNAVAILABLE(macos)
@interface HMCameraStream : HMCameraSource
/*!
* @brief Represents the audio setting for the current stream.
*/
@property (assign, nonatomic, readonly) HMCameraAudioStreamSetting audioStreamSetting API_UNAVAILABLE(tvos);
/*!
* @brief Sets the audio stream setting.
*
* @param audioStreamSetting New audio stream setting.
*
*/
- (void)setAudioStreamSetting:(HMCameraAudioStreamSetting)audioStreamSetting API_DEPRECATED_WITH_REPLACEMENT("updateAudioStreamSetting:completionHandler:", ios(10.0, 10.0), watchos(3.0, 3.0)) API_UNAVAILABLE(tvos);
/*!
* @brief Updates the settings of the audio stream.
*
* @param audioStreamSetting New audio stream setting.
*
* @param completion Block that is invoked once the request is processed.
* The NSError provides more information on the status of the request, error
* will be nil on success.
*/
- (void)updateAudioStreamSetting:(HMCameraAudioStreamSetting)audioStreamSetting completionHandler:(void (^)(NSError * __nullable error))completion API_UNAVAILABLE(tvos);
@end
NS_ASSUME_NONNULL_END
// ========== HomeKit.framework/Headers/HMCharacteristicDefines.h
//
// HMCharacteristicDefines.h
// HomeKit
//
// Copyright (c) 2013-2015 Apple Inc. All rights reserved.
//
#import <HomeKit/HMDefines.h>
/*!
* @group Characteristic Valid Values
*
* @brief These constants define valid values for characteristic types supported by the HomeKit Accessory Profile for HomeKit based accessories.
*/
/*!
@enum HMCharacteristicValueDoorState
@constant HMCharacteristicValueDoorStateOpen Door is fully open.
@constant HMCharacteristicValueDoorStateClosed Door is fully closed.
@constant HMCharacteristicValueDoorStateOpening Door is actively opening.
@constant HMCharacteristicValueDoorStateClosing Door is actively closed.
@constant HMCharacteristicValueDoorStateStopped Door is not moving, and is not fully open nor fully closed.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueDoorState) {
HMCharacteristicValueDoorStateOpen = 0,
HMCharacteristicValueDoorStateClosed,
HMCharacteristicValueDoorStateOpening,
HMCharacteristicValueDoorStateClosing,
HMCharacteristicValueDoorStateStopped,
} API_AVAILABLE(ios(8.0), watchos(2.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueHeatingCooling
@constant HMCharacteristicValueHeatingCoolingOff Heating/cooling is off.
@constant HMCharacteristicValueHeatingCoolingHeat Heating/cooling is heating.
@constant HMCharacteristicValueHeatingCoolingCool Heating/cooling is cooling.
@constant HMCharacteristicValueHeatingCoolingAuto Heating/cooling is auto.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueHeatingCooling) {
HMCharacteristicValueHeatingCoolingOff = 0,
HMCharacteristicValueHeatingCoolingHeat,
HMCharacteristicValueHeatingCoolingCool,
HMCharacteristicValueHeatingCoolingAuto,
} API_AVAILABLE(ios(8.0), watchos(2.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueRotationDirection
@constant HMCharacteristicValueRotationDirectionClockwise Clockwise rotation.
@constant HMCharacteristicValueRotationDirectionCounterClockwise Counter-clockwise rotation.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueRotationDirection) {
HMCharacteristicValueRotationDirectionClockwise = 0,
HMCharacteristicValueRotationDirectionCounterClockwise,
} API_AVAILABLE(ios(8.0), watchos(2.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueTemperatureUnit
@constant HMCharacteristicValueTemperatureUnitCelsius Temperature unit in Celsius.
@constant HMCharacteristicValueTemperatureUnitFahrenheit Temperature unit in Fahrenheit.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueTemperatureUnit) {
HMCharacteristicValueTemperatureUnitCelsius = 0,
HMCharacteristicValueTemperatureUnitFahrenheit,
} API_AVAILABLE(ios(8.0), watchos(2.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueLockMechanismState
@constant HMCharacteristicValueLockMechanismStateUnsecured Lock mechanism is unsecured.
@constant HMCharacteristicValueLockMechanismStateSecured Lock mechanism is secured.
@constant HMCharacteristicValueLockMechanismStateJammed Lock mechanism is jammed.
@constant HMCharacteristicValueLockMechanismStateUnknown Lock mechanism is unknown.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueLockMechanismState) {
HMCharacteristicValueLockMechanismStateUnsecured = 0,
HMCharacteristicValueLockMechanismStateSecured,
HMCharacteristicValueLockMechanismStateJammed,
HMCharacteristicValueLockMechanismStateUnknown,
} API_AVAILABLE(ios(8.0), watchos(2.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueLockMechanismLastKnownAction
@constant HMCharacteristicValueLockMechanismLastKnownActionSecuredUsingPhysicalMovementInterior Last known action was secured using physical movement, interior.
@constant HMCharacteristicValueLockMechanismLastKnownActionUnsecuredUsingPhysicalMovementInterior Last known action was unsecured using physical movement, interior.
@constant HMCharacteristicValueLockMechanismLastKnownActionSecuredUsingPhysicalMovementExterior Last known action was secured using physical movement, exterior.
@constant HMCharacteristicValueLockMechanismLastKnownActionUnsecuredUsingPhysicalMovementExterior Last known action was unsecured using physical movement, exterior.
@constant HMCharacteristicValueLockMechanismLastKnownActionSecuredWithKeypad Last known action was secured with keypad.
@constant HMCharacteristicValueLockMechanismLastKnownActionUnsecuredWithKeypad Last known action was unsecured with keypad.
@constant HMCharacteristicValueLockMechanismLastKnownActionSecuredRemotely Last known action was secured remotely.
@constant HMCharacteristicValueLockMechanismLastKnownActionUnsecuredRemotely Last known action was unsecured remotely.
@constant HMCharacteristicValueLockMechanismLastKnownActionSecuredWithAutomaticSecureTimeout Last known action was secured automatically after timeout.
@constant HMCharacteristicValueLockMechanismLastKnownActionSecuredUsingPhysicalMovement Last known action was secured using physical movement.
@constant HMCharacteristicValueLockMechanismLastKnownActionUnsecuredUsingPhysicalMovement Last known action was unsecured using physical movement.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueLockMechanismLastKnownAction) {
HMCharacteristicValueLockMechanismLastKnownActionSecuredUsingPhysicalMovementInterior = 0,
HMCharacteristicValueLockMechanismLastKnownActionUnsecuredUsingPhysicalMovementInterior,
HMCharacteristicValueLockMechanismLastKnownActionSecuredUsingPhysicalMovementExterior,
HMCharacteristicValueLockMechanismLastKnownActionUnsecuredUsingPhysicalMovementExterior,
HMCharacteristicValueLockMechanismLastKnownActionSecuredWithKeypad,
HMCharacteristicValueLockMechanismLastKnownActionUnsecuredWithKeypad,
HMCharacteristicValueLockMechanismLastKnownActionSecuredRemotely,
HMCharacteristicValueLockMechanismLastKnownActionUnsecuredRemotely,
HMCharacteristicValueLockMechanismLastKnownActionSecuredWithAutomaticSecureTimeout,
HMCharacteristicValueLockMechanismLastKnownActionSecuredUsingPhysicalMovement,
HMCharacteristicValueLockMechanismLastKnownActionUnsecuredUsingPhysicalMovement,
} API_AVAILABLE(ios(8.0), watchos(2.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueAirParticulateSize
@constant HMCharacteristicValueAirParticulateSize2_5 Air particulate size of 2.5 micrometers.
@constant HMCharacteristicValueAirParticulateSize10 Air particulate size of 10 micrometers.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueAirParticulateSize) {
HMCharacteristicValueAirParticulateSize2_5 = 0,
HMCharacteristicValueAirParticulateSize10,
} API_AVAILABLE(ios(9.0), watchos(2.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueAirQuality
@constant HMCharacteristicValueAirQualityUnknown Air quality is unknown.
@constant HMCharacteristicValueAirQualityExcellent Air quality is excellent.
@constant HMCharacteristicValueAirQualityGood Air quality is good.
@constant HMCharacteristicValueAirQualityFair Air quality is fair.
@constant HMCharacteristicValueAirQualityInferior Air quality is inferior.
@constant HMCharacteristicValueAirQualityPoor Air quality is poor.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueAirQuality) {
HMCharacteristicValueAirQualityUnknown = 0,
HMCharacteristicValueAirQualityExcellent,
HMCharacteristicValueAirQualityGood,
HMCharacteristicValueAirQualityFair,
HMCharacteristicValueAirQualityInferior,
HMCharacteristicValueAirQualityPoor,
} API_AVAILABLE(ios(9.0), watchos(2.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValuePositionState
@constant HMCharacteristicValuePositionStateClosing Position is moving towards minimum value.
@constant HMCharacteristicValuePositionStateOpening Position is moving towards maximum value.
@constant HMCharacteristicValuePositionStateStopped Position is Stopped.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValuePositionState) {
HMCharacteristicValuePositionStateClosing = 0,
HMCharacteristicValuePositionStateOpening,
HMCharacteristicValuePositionStateStopped,
} API_AVAILABLE(ios(9.0), watchos(2.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueCurrentSecuritySystemState
@constant HMCharacteristicValueCurrentSecuritySystemStateStayArm Home is occupied and residents are active.
@constant HMCharacteristicValueCurrentSecuritySystemStateAwayArm Home is unoccupied.
@constant HMCharacteristicValueCurrentSecuritySystemStateNightArm Home is occupied and residents are sleeping.
@constant HMCharacteristicValueCurrentSecuritySystemStateDisarmed SecuritySystem is disarmed.
@constant HMCharacteristicValueCurrentSecuritySystemStateTriggered SecuritySystem is triggered.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueCurrentSecuritySystemState) {
HMCharacteristicValueCurrentSecuritySystemStateStayArm = 0,
HMCharacteristicValueCurrentSecuritySystemStateAwayArm,
HMCharacteristicValueCurrentSecuritySystemStateNightArm,
HMCharacteristicValueCurrentSecuritySystemStateDisarmed,
HMCharacteristicValueCurrentSecuritySystemStateTriggered,
} API_AVAILABLE(ios(9.0), watchos(2.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueTargetSecuritySystemState
@constant HMCharacteristicValueTargetSecuritySystemStateStayArm Home is occupied and residents are active.
@constant HMCharacteristicValueTargetSecuritySystemStateAwayArm Home is unoccupied.
@constant HMCharacteristicValueTargetSecuritySystemStateNightArm Home is occupied and residents are sleeping.
@constant HMCharacteristicValueTargetSecuritySystemStateDisarm Disarm.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueTargetSecuritySystemState) {
HMCharacteristicValueTargetSecuritySystemStateStayArm = 0,
HMCharacteristicValueTargetSecuritySystemStateAwayArm,
HMCharacteristicValueTargetSecuritySystemStateNightArm,
HMCharacteristicValueTargetSecuritySystemStateDisarm,
} API_AVAILABLE(ios(9.0), watchos(2.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueBatteryStatus
@constant HMCharacteristicValueBatteryStatusNormal Battery status is normal.
@constant HMCharacteristicValueBatteryStatusLow Battery status is low.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueBatteryStatus) {
HMCharacteristicValueBatteryStatusNormal = 0,
HMCharacteristicValueBatteryStatusLow,
} API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueJammedStatus
@constant HMCharacteristicValueJammedStatusNone Not Jammed.
@constant HMCharacteristicValueJammedStatusJammed Jammed.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueJammedStatus) {
HMCharacteristicValueJammedStatusNone = 0,
HMCharacteristicValueJammedStatusJammed,
} API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueTamperStatus
@constant HMCharacteristicValueTamperStatusNone Accessory is not tampered with.
@constant HMCharacteristicValueTamperStatusTampered Accessory is tampered with.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueTamperedStatus) {
HMCharacteristicValueTamperedStatusNone = 0,
HMCharacteristicValueTamperedStatusTampered,
} API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueLeakDetectionStatus
@constant HMCharacteristicValueLeakDetectionStatusNone Leak is not detected.
@constant HMCharacteristicValueLeakDetectionStatusDetected Leak is detected.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueLeakStatus) {
HMCharacteristicValueLeakStatusNone = 0,
HMCharacteristicValueLeakStatusDetected,
} API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueSmokeDetectionStatus
@constant HMCharacteristicValueSmokeDetectionStatusNone Smoke is not detected.
@constant HMCharacteristicValueSmokeDetectionStatusDetected Smoke is detected.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueSmokeDetectionStatus) {
HMCharacteristicValueSmokeDetectionStatusNone = 0,
HMCharacteristicValueSmokeDetectionStatusDetected,
} API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueChargingState
@constant HMCharacteristicValueChargingStateNone Charging is not in progress.
@constant HMCharacteristicValueChargingStateInProgress Charging is in progress.
@constant HMCharacteristicValueChargingStateNotChargeable Charging is not supported.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueChargingState) {
HMCharacteristicValueChargingStateNone = 0,
HMCharacteristicValueChargingStateInProgress,
HMCharacteristicValueChargingStateNotChargeable API_AVAILABLE(ios(10.2), watchos(3.1.1), tvos(10.1)),
} API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueContactState
@constant HMCharacteristicValueContactStateDetected Contact is detected.
@constant HMCharacteristicValueContactStateNone Contact is not detected.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueContactState) {
HMCharacteristicValueContactStateDetected = 0,
HMCharacteristicValueContactStateNone,
} API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueStatusFault
@constant HMCharacteristicValueStatusFaultNoFault No Fault.
@constant HMCharacteristicValueStatusFaultGeneralFault General Fault.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueStatusFault) {
HMCharacteristicValueStatusFaultNoFault = 0,
HMCharacteristicValueStatusFaultGeneralFault,
} API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueCarbonMonoxideDetectionStatus
@constant HMCharacteristicValueCarbonMonoxideDetectionStatusNotDetected Carbon monoxide is not detected.
@constant HMCharacteristicValueCarbonMonoxideDetectionStatusDetected Carbon monoxide is detected.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueCarbonMonoxideDetectionStatus) {
HMCharacteristicValueCarbonMonoxideDetectionStatusNotDetected = 0,
HMCharacteristicValueCarbonMonoxideDetectionStatusDetected,
} API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueCarbonDioxideDetectionStatus
@constant HMCharacteristicValueCarbonDioxideDetectionStatusNotDetected Carbon dioxide is not detected.
@constant HMCharacteristicValueCarbonDioxideDetectionStatusDetected Carbon dioxide is detected.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueCarbonDioxideDetectionStatus) {
HMCharacteristicValueCarbonDioxideDetectionStatusNotDetected = 0,
HMCharacteristicValueCarbonDioxideDetectionStatusDetected,
} API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueOccupancyStatus
@constant HMCharacteristicValueOccupancyStatusNotOccupied Occupancy is not detected.
@constant HMCharacteristicValueOccupancyStatusOccupied Occupancy is detected.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueOccupancyStatus) {
HMCharacteristicValueOccupancyStatusNotOccupied = 0,
HMCharacteristicValueOccupancyStatusOccupied,
} API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueSecuritySystemAlarmType
@constant HMCharacteristicValueSecuritySystemAlarmTypeNoAlarm No alarm.
@constant HMCharacteristicValueSecuritySystemAlarmTypeUnknown Unknown alarm type.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueSecuritySystemAlarmType) {
HMCharacteristicValueSecuritySystemAlarmTypeNoAlarm = 0,
HMCharacteristicValueSecuritySystemAlarmTypeUnknown,
} API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueLockPhysicalControlsState
@constant HMCharacteristicValueLockPhysicalControlsStateNotLocked Physical controls not locked.
@constant HMCharacteristicValueLockPhysicalControlsStateLocked Physical controls locked.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueLockPhysicalControlsState) {
HMCharacteristicValueLockPhysicalControlsStateNotLocked = 0,
HMCharacteristicValueLockPhysicalControlsStateLocked,
} API_AVAILABLE(ios(10.2), watchos(3.1.1), tvos(10.1)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueCurrentAirPurifierState
@constant HMCharacteristicValueCurrentAirPurifierStateInactive Inactive.
@constant HMCharacteristicValueCurrentAirPurifierStateIdle Idle.
@constant HMCharacteristicValueCurrentAirPurifierStateActive Active.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueCurrentAirPurifierState) {
HMCharacteristicValueCurrentAirPurifierStateInactive = 0,
HMCharacteristicValueCurrentAirPurifierStateIdle,
HMCharacteristicValueCurrentAirPurifierStateActive,
} API_AVAILABLE(ios(10.2), watchos(3.1.1), tvos(10.1)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueTargetAirPurifierState
@constant HMCharacteristicValueTargetAirPurifierStateManual Air Purifier is in manual mode.
@constant HMCharacteristicValueTargetAirPurifierStateAutomatic Air Purifier is in automatic mode.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueTargetAirPurifierState) {
HMCharacteristicValueTargetAirPurifierStateManual = 0,
HMCharacteristicValueTargetAirPurifierStateAutomatic,
} API_AVAILABLE(ios(10.2), watchos(3.1.1), tvos(10.1)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueCurrentSlatState
@constant HMCharacteristicValueCurrentSlatStateStationary Slats are stationary.
@constant HMCharacteristicValueCurrentSlatStateJammed Slats are jammed.
@constant HMCharacteristicValueCurrentSlatStateOscillating Slats are oscillating.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueCurrentSlatState) {
HMCharacteristicValueCurrentSlatStateStationary = 0,
HMCharacteristicValueCurrentSlatStateJammed,
HMCharacteristicValueCurrentSlatStateOscillating,
} API_AVAILABLE(ios(10.2), watchos(3.1.1), tvos(10.1)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueSlatType
@constant HMCharacteristicValueSlatTypeHorizontal Slat type is horizontal.
@constant HMCharacteristicValueSlatTypeVertical Slat type is vertical.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueSlatType) {
HMCharacteristicValueSlatTypeHorizontal = 0,
HMCharacteristicValueSlatTypeVertical,
} API_AVAILABLE(ios(10.2), watchos(3.1.1), tvos(10.1)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueFilterChange
@constant HMCharacteristicValueFilterChangeNotNeeded Filter does not need to be changed.
@constant HMCharacteristicValueFilterChangeNeeded Filter needs to be changed.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueFilterChange) {
HMCharacteristicValueFilterChangeNotNeeded = 0,
HMCharacteristicValueFilterChangeNeeded,
} API_AVAILABLE(ios(10.2), watchos(3.1.1), tvos(10.1)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueCurrentFanState
@constant HMCharacteristicValueCurrentFanStateInactive Inactive.
@constant HMCharacteristicValueCurrentFanStateIdle Idle.
@constant HMCharacteristicValueCurrentFanStateActive Active.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueCurrentFanState) {
HMCharacteristicValueCurrentFanStateInactive = 0,
HMCharacteristicValueCurrentFanStateIdle,
HMCharacteristicValueCurrentFanStateActive,
} API_AVAILABLE(ios(10.2), watchos(3.1.1), tvos(10.1)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueTargetFanState
@constant HMCharacteristicValueTargetFanStateManual Fan is in manual mode.
@constant HMCharacteristicValueTargetFanStateAutomatic Fan is in automatic mode.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueTargetFanState) {
HMCharacteristicValueTargetFanStateManual = 0,
HMCharacteristicValueTargetFanStateAutomatic,
} API_AVAILABLE(ios(10.2), watchos(3.1.1), tvos(10.1)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueCurrentHeaterCoolerState
@constant HMCharacteristicValueCurrentHeaterCoolerStateInactive Inactive.
@constant HMCharacteristicValueCurrentHeaterCoolerStateIdle Idle.
@constant HMCharacteristicValueCurrentHeaterCoolerStateHeating Heating.
@constant HMCharacteristicValueCurrentHeaterCoolerStateCooling Cooling.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueCurrentHeaterCoolerState) {
HMCharacteristicValueCurrentHeaterCoolerStateInactive = 0,
HMCharacteristicValueCurrentHeaterCoolerStateIdle,
HMCharacteristicValueCurrentHeaterCoolerStateHeating,
HMCharacteristicValueCurrentHeaterCoolerStateCooling,
} API_AVAILABLE(ios(10.2), watchos(3.1.1), tvos(10.1)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueTargetHeaterCoolerState
@constant HMCharacteristicValueTargetHeaterCoolerStateAutomatic Automatic mode.
@constant HMCharacteristicValueTargetHeaterCoolerStateHeat Heat mode.
@constant HMCharacteristicValueTargetHeaterCoolerStateCool Cool mode.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueTargetHeaterCoolerState) {
HMCharacteristicValueTargetHeaterCoolerStateAutomatic = 0,
HMCharacteristicValueTargetHeaterCoolerStateHeat,
HMCharacteristicValueTargetHeaterCoolerStateCool,
} API_AVAILABLE(ios(10.2), watchos(3.1.1), tvos(10.1)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueCurrentHumidifierDehumidifierState
@constant HMCharacteristicValueCurrentHumidifierDehumidifierStateInactive Inactive.
@constant HMCharacteristicValueCurrentHumidifierDehumidifierStateIdle Idle.
@constant HMCharacteristicValueCurrentHumidifierDehumidifierStateHumidifying Humidifying.
@constant HMCharacteristicValueCurrentHumidifierDehumidifierStateDehumidifying Dehumidifying.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueCurrentHumidifierDehumidifierState) {
HMCharacteristicValueCurrentHumidifierDehumidifierStateInactive = 0,
HMCharacteristicValueCurrentHumidifierDehumidifierStateIdle,
HMCharacteristicValueCurrentHumidifierDehumidifierStateHumidifying,
HMCharacteristicValueCurrentHumidifierDehumidifierStateDehumidifying,
} API_AVAILABLE(ios(10.2), watchos(3.1.1), tvos(10.1)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueTargetHumidifierDehumidifierState
@constant HMCharacteristicValueTargetHumidifierDehumidifierStateAutomatic Automatic mode.
@constant HMCharacteristicValueTargetHumidifierDehumidifierStateHumidify Humidify mode.
@constant HMCharacteristicValueTargetHumidifierDehumidifierStateDehumidify Dehumidify mode.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueTargetHumidifierDehumidifierState) {
HMCharacteristicValueTargetHumidifierDehumidifierStateAutomatic = 0,
HMCharacteristicValueTargetHumidifierDehumidifierStateHumidify,
HMCharacteristicValueTargetHumidifierDehumidifierStateDehumidify,
} API_AVAILABLE(ios(10.2), watchos(3.1.1), tvos(10.1)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueSwingMode
@constant HMCharacteristicValueSwingModeDisabled Swing mode is disabled.
@constant HMCharacteristicValueSwingModeEnabled Swing mode is enabled.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueSwingMode) {
HMCharacteristicValueSwingModeDisabled = 0,
HMCharacteristicValueSwingModeEnabled,
} API_AVAILABLE(ios(10.2), watchos(3.1.1), tvos(10.1)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueActivationState
@constant HMCharacteristicValueActivationStateInactive Service is inactive.
@constant HMCharacteristicValueActivationStateActive Service is active.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueActivationState) {
HMCharacteristicValueActivationStateInactive = 0,
HMCharacteristicValueActivationStateActive,
} API_AVAILABLE(ios(10.2), watchos(3.1.1), tvos(10.1)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueInputEvent
@constant HMCharacteristicValueInputEventSinglePress Single tap or press.
@constant HMCharacteristicValueInputEventDoublePress Double tap or press.
@constant HMCharacteristicValueInputEventLongPress Long press.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueInputEvent) {
HMCharacteristicValueInputEventSinglePress = 0,
HMCharacteristicValueInputEventDoublePress,
HMCharacteristicValueInputEventLongPress,
} API_AVAILABLE(ios(10.3), watchos(3.2), tvos(10.2)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueLabelNamespace
@constant HMCharacteristicValueLabelNamespaceDot Service labels are dots.
@constant HMCharacteristicValueLabelNamespaceNumeral Service labels are Arabic numerals.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueLabelNamespace) {
HMCharacteristicValueLabelNamespaceDot = 0,
HMCharacteristicValueLabelNamespaceNumeral,
} API_AVAILABLE(ios(10.3), watchos(3.2), tvos(10.2)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueProgramMode
@constant HMCharacteristicValueProgramModeNotScheduled No programs scheduled.
@constant HMCharacteristicValueProgramModeScheduled Program scheduled.
@constant HMCharacteristicValueProgramModeScheduleOverriddenToManual Schedule currently overridden to manual mode.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueProgramMode) {
HMCharacteristicValueProgramModeNotScheduled = 0,
HMCharacteristicValueProgramModeScheduled,
HMCharacteristicValueProgramModeScheduleOverriddenToManual,
} API_AVAILABLE(ios(11.2), watchos(4.2), tvos(11.2)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueUsageState
@constant HMCharacteristicValueUsageStateNotInUse Not in use.
@constant HMCharacteristicValueUsageStateInUse Currently in use.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueUsageState) {
HMCharacteristicValueUsageStateNotInUse = 0,
HMCharacteristicValueUsageStateInUse,
} API_AVAILABLE(ios(11.2), watchos(4.2), tvos(11.2)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueValveType
@constant HMCharacteristicValueValveTypeGenericValve Generic Valve.
@constant HMCharacteristicValueValveTypeIrrigation Irrigation.
@constant HMCharacteristicValueValveTypeShowerHead Shower Head.
@constant HMCharacteristicValueValveTypeWaterFaucet Water Faucet.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueValveType) {
HMCharacteristicValueValveTypeGenericValve = 0,
HMCharacteristicValueValveTypeIrrigation,
HMCharacteristicValueValveTypeShowerHead,
HMCharacteristicValueValveTypeWaterFaucet,
} API_AVAILABLE(ios(11.2), watchos(4.2), tvos(11.2)) API_UNAVAILABLE(macos);
/*!
@enum HMCharacteristicValueConfigurationState
@constant HMCharacteristicValueConfigurationStateNotConfigured Not Configured.
@constant HMCharacteristicValueConfigurationStateConfigured Configured.
*/
typedef NS_ENUM(NSInteger, HMCharacteristicValueConfigurationState) {
HMCharacteristicValueConfigurationStateNotConfigured = 0,
HMCharacteristicValueConfigurationStateConfigured,
} API_AVAILABLE(ios(11.2), watchos(4.2), tvos(11.2)) API_UNAVAILABLE(macos);
// ========== HomeKit.framework/Headers/HMAccessory+Camera.h
//
// HMAccessory+Camera.h
// HomeKit
//
// Copyright © 2015-2016 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <HomeKit/HMDefines.h>
#import <HomeKit/HMAccessory.h>
@class HMCameraProfile;
NS_ASSUME_NONNULL_BEGIN
/*!
* @abstract Category implementing methods related to camera profile.
*/
@interface HMAccessory(Camera)
/*!
* @brief Returns array of camera profiles implemented by the accessory.
*
* @discussion An accessory can contain one or more cameras. Each camera is represented as a
* an HMCameraProfile object. If the accessory does not contain a camera, this property
* will be nil.
*/
@property(readonly, copy, nonatomic, nullable) NSArray<HMCameraProfile *> *cameraProfiles API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0));
@end
NS_ASSUME_NONNULL_END
// ========== HomeKit.framework/Headers/HMLocationEvent.h
//
// HMLocationEvent.h
// HomeKit
//
// Copyright © 2015 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <HomeKit/HMDefines.h>
#import <HomeKit/HMEvent.h>
NS_ASSUME_NONNULL_BEGIN
@class CLRegion;
/*!
* @brief This class represents an event that is evaluated based on entry to and/or
* exit from a Region
*/
HM_EXTERN API_AVAILABLE(ios(9.0), watchos(2.0), tvos(10.0)) API_UNAVAILABLE(macos)
@interface HMLocationEvent : HMEvent <NSCopying, NSMutableCopying>
- (instancetype)init NS_UNAVAILABLE;
/*!
* @brief Initializes a new location event object
*
* @param region - Region with at least one property of notifyOnEntry or notifyOnExit set to TRUE.
*
* @return Instance object representing the location event.
*/
- (instancetype)initWithRegion:(CLRegion *)region API_UNAVAILABLE(watchos, tvos);
/*!
* @brief Region on which events are triggered based on the properties notifyOnEntry and notifyOnExit.
* This property will be nil when an application is not authorized for location services.
*/
@property(readonly, strong, nonatomic, nullable) CLRegion *region;
/*!
* @brief Updates the region
*
* @param region - New region with at least one property of notifyOnEntry or notifyOnExit set to TRUE.
*
* @param completion Block that is invoked once the request is processed.
* The NSError provides more information on the status of the request, error
* will be nil on success.
*/
- (void)updateRegion:(CLRegion *)region completionHandler:(void (^)(NSError * __nullable error))completion API_DEPRECATED("No longer supported.", ios(9.0, 11.0)) API_UNAVAILABLE(watchos, tvos);
@end
/*!
* @brief This class represents an event that is evaluated based on entry to and/or
* exit from a Region
*/
HM_EXTERN API_AVAILABLE(ios(11.0), watchos(4.0), tvos(11.0)) API_UNAVAILABLE(macos)
@interface HMMutableLocationEvent : HMLocationEvent
- (instancetype)init NS_UNAVAILABLE;
/*!
* @brief Region on which events are triggered based on the properties notifyOnEntry and notifyOnExit.
* This property will be nil when an application is not authorized for location services.
*/
@property(readwrite, strong, nonatomic, nullable) CLRegion *region;
@end
NS_ASSUME_NONNULL_END
// ========== HomeKit.framework/Headers/HMCameraSettingsControl.h
//
// HMCameraSettingsControl.h
// HomeKit
//
// Copyright © 2016 Apple Inc. All rights reserved.
//
#import <HomeKit/HMCameraControl.h>
#import <HomeKit/HMDefines.h>
@class HMCharacteristic;
NS_ASSUME_NONNULL_BEGIN
/*!
* @abstract This class can be used to control the settings on a camera.
*/
HM_EXTERN API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0)) API_UNAVAILABLE(macos)
@interface HMCameraSettingsControl : HMCameraControl
- (instancetype)init NS_UNAVAILABLE;
/*!
* Characteristic corresponding to night vision setting on the camera.
*/
@property(readonly, strong, nonatomic, nullable) HMCharacteristic *nightVision;
/*!
* Characteristic corresponding to current horizontal tilt setting on the camera.
*/
@property(readonly, strong, nonatomic, nullable) HMCharacteristic *currentHorizontalTilt;
/*!
* Characteristic corresponding to target horizontal tilt setting on the camera.
*/
@property(readonly, strong, nonatomic, nullable) HMCharacteristic *targetHorizontalTilt;
/*!
* Characteristic corresponding to current vertical tilt setting on the camera.
*/
@property(readonly, strong, nonatomic, nullable) HMCharacteristic *currentVerticalTilt;
/*!
* Characteristic corresponding to target vertical tilt setting on the camera.
*/
@property(readonly, strong, nonatomic, nullable) HMCharacteristic *targetVerticalTilt;
/*!
* Characteristic corresponding to optical zoom setting on the camera.
*/
@property(readonly, strong, nonatomic, nullable) HMCharacteristic *opticalZoom;
/*!
* Characteristic corresponding to digital zoom setting on the camera.
*/
@property(readonly, strong, nonatomic, nullable) HMCharacteristic *digitalZoom;
/*!
* Characteristic corresponding to image rotation setting on the camera.
*/
@property(readonly, strong, nonatomic, nullable) HMCharacteristic *imageRotation;
/*!
* Characteristic corresponding to image mirroring setting on the camera.
*/
@property(readonly, strong, nonatomic, nullable) HMCharacteristic *imageMirroring;
@end
NS_ASSUME_NONNULL_END
// ========== HomeKit.framework/Headers/HMAccessoryProfile.h
//
// HMAccessoryProfile.h
// HomeKit
//
// Copyright © 2015-2016 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <HomeKit/HMDefines.h>
@class HMAccessory;
@class HMService;
NS_ASSUME_NONNULL_BEGIN
/*!
* @abstract Represents a profile implemented by an accessory.
*/
HM_EXTERN API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0)) API_UNAVAILABLE(macos)
@interface HMAccessoryProfile : NSObject
- (instancetype)init NS_UNAVAILABLE;
/*!
* @brief A unique identifier for the profile.
*/
@property(readonly, copy, nonatomic) NSUUID *uniqueIdentifier;
/*!
* @brief Collection of services representing the profile.
*/
@property(readonly, strong, nonatomic) NSArray<HMService *> *services;
/*!
* @brief Accessory implementing the profile.
*/
@property(readonly, weak, nonatomic) HMAccessory *accessory;
@end
NS_ASSUME_NONNULL_END
// ========== HomeKit.framework/Headers/HMHomeAccessControl.h
//
// HMHomeAccessControl.h
// HomeKit
//
// Copyright (c) 2015 Apple Inc. All rights reserved.
//
#import <HomeKit/HMDefines.h>
#import <HomeKit/HMAccessControl.h>
NS_ASSUME_NONNULL_BEGIN
/*!
* @brief Represents the access control of a user associated with a home.
*/
HM_EXTERN API_AVAILABLE(ios(9.0), watchos(2.0), tvos(10.0)) API_UNAVAILABLE(macos)
@interface HMHomeAccessControl : HMAccessControl
/*!
* @brief Specifies if the user has administrative privileges for the home.
*/
@property(readonly, getter=isAdministrator, nonatomic) BOOL administrator;
@end
NS_ASSUME_NONNULL_END
// ========== HomeKit.framework/Headers/HMNumberRange.h
//
// HMNumberRange.h
// HomeKit
//
// Copyright (c) 2017 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <HomeKit/HMDefines.h>
NS_ASSUME_NONNULL_BEGIN
/*!
* @brief This class describes a range of numbers: [min, max]
*
*/
HM_EXTERN API_AVAILABLE(ios(11.0), watchos(4.0), tvos(11.0)) API_UNAVAILABLE(macos)
@interface HMNumberRange : NSObject
- (instancetype)init NS_UNAVAILABLE;
/*!
* @brief Initializes a new range of numbers
*
* @param minValue The minimum value of the range.
*