@@ -164,6 +164,7 @@ typedef NS_ENUM(uint8_t, MTRTransportType) {
164
164
*
165
165
* nil is used to represent wildcards.
166
166
*/
167
+ NS_SWIFT_SENDABLE
167
168
MTR_AVAILABLE (ios(17.0 ), macos(14.0 ), watchos(10.0 ), tvos(17.0 ))
168
169
@interface MTRAttributeRequestPath : NSObject <NSCopying>
169
170
@property (nonatomic, readonly, copy, nullable) NSNumber * endpoint MTR_AVAILABLE(ios(17.0 ), macos(14.0 ), watchos(10.0 ), tvos(17.0 ));
@@ -182,6 +183,7 @@ MTR_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0))
182
183
*
183
184
* nil is used to represent wildcards.
184
185
*/
186
+ NS_SWIFT_SENDABLE
185
187
MTR_AVAILABLE (ios(17.0 ), macos(14.0 ), watchos(10.0 ), tvos(17.0 ))
186
188
@interface MTREventRequestPath : NSObject <NSCopying>
187
189
@property (nonatomic, readonly, copy, nullable) NSNumber * endpoint MTR_AVAILABLE(ios(17.0 ), macos(14.0 ), watchos(10.0 ), tvos(17.0 ));
@@ -572,6 +574,7 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
572
574
* A path indicating a specific cluster on a device (i.e. without any
573
575
* wildcards).
574
576
*/
577
+ NS_SWIFT_SENDABLE
575
578
MTR_AVAILABLE (ios(16.4 ), macos(13.3 ), watchos(9.4 ), tvos(16.4 ))
576
579
@interface MTRClusterPath : NSObject <NSCopying, NSSecureCoding>
577
580
@@ -588,6 +591,7 @@ MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4))
588
591
* A path indicating a specific attribute on a device (i.e. without any
589
592
* wildcards).
590
593
*/
594
+ NS_SWIFT_SENDABLE
591
595
MTR_AVAILABLE (ios(16.1 ), macos(13.0 ), watchos(9.1 ), tvos(16.1 ))
592
596
@interface MTRAttributePath : MTRClusterPath <NSSecureCoding>
593
597
@@ -604,6 +608,7 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
604
608
* (i.e. without any wildcards). There can be multiple instances of actual
605
609
* events for a given event path.
606
610
*/
611
+ NS_SWIFT_SENDABLE
607
612
MTR_AVAILABLE (ios(16.1 ), macos(13.0 ), watchos(9.1 ), tvos(16.1 ))
608
613
@interface MTREventPath : MTRClusterPath
609
614
@@ -618,6 +623,7 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
618
623
* A path indicating a specific command on a device (i.e. without any
619
624
* wildcards).
620
625
*/
626
+ NS_SWIFT_SENDABLE
621
627
MTR_AVAILABLE (ios(16.1 ), macos(13.0 ), watchos(9.1 ), tvos(16.1 ))
622
628
@interface MTRCommandPath : MTRClusterPath
623
629
@@ -628,6 +634,7 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
628
634
commandID:(NSNumber *)commandID MTR_AVAILABLE (ios(16.4 ), macos(13.3 ), watchos(9.4 ), tvos(16.4 ));
629
635
@end
630
636
637
+ NS_SWIFT_SENDABLE
631
638
MTR_AVAILABLE (ios(16.1 ), macos(13.0 ), watchos(9.1 ), tvos(16.1 ))
632
639
@interface MTRAttributeReport : NSObject
633
640
@@ -640,7 +647,7 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
640
647
* * The attribute is nullable and the value of the attribute is null.
641
648
*
642
649
* If value is not nil, the actual type of value will depend on the
643
- * schema-defined (typically defiend in the Matter specification) type of the
650
+ * schema-defined (typically defined in the Matter specification) type of the
644
651
* attribute as follows:
645
652
*
646
653
* * list: NSArray of whatever type the list entries are.
@@ -697,6 +704,7 @@ typedef NS_ENUM(NSUInteger, MTREventPriority) {
697
704
MTREventPriorityCritical = 2
698
705
} MTR_AVAILABLE(ios(16.5 ), macos(13.4 ), watchos(9.5 ), tvos(16.5 ));
699
706
707
+ NS_SWIFT_SENDABLE
700
708
MTR_AVAILABLE (ios(16.1 ), macos(13.0 ), watchos(9.1 ), tvos(16.1 ))
701
709
@interface MTREventReport : NSObject
702
710
0 commit comments