Skip to content

Commit 71dc879

Browse files
Update Darwin availability annotations. (#36721)
1 parent 38ad07d commit 71dc879

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/darwin/Framework/CHIP/MTRAttributeValueWaiter.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
NS_ASSUME_NONNULL_BEGIN
2121

22-
MTR_NEWLY_AVAILABLE
22+
MTR_AVAILABLE(ios(18.3), macos(15.3), watchos(11.3), tvos(18.3))
2323
@interface MTRAttributeValueWaiter : NSObject
2424
- (instancetype)init NS_UNAVAILABLE;
2525
+ (instancetype)new NS_UNAVAILABLE;
@@ -31,7 +31,7 @@ MTR_NEWLY_AVAILABLE
3131
*/
3232
- (void)cancel;
3333

34-
@property (readonly, nonatomic) NSUUID * UUID;
34+
@property (readonly, nonatomic) NSUUID * UUID MTR_NEWLY_AVAILABLE;
3535

3636
@end
3737

src/darwin/Framework/CHIP/MTRDevice.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,14 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
114114
*
115115
* A non-nil value if the vendor identifier has been determined from the device, nil if unknown.
116116
*/
117-
@property (nonatomic, readonly, nullable, copy) NSNumber * vendorID MTR_NEWLY_AVAILABLE;
117+
@property (nonatomic, readonly, nullable, copy) NSNumber * vendorID MTR_AVAILABLE(ios(18.3), macos(15.3), watchos(11.3), tvos(18.3));
118118

119119
/**
120120
* The Product Identifier associated with the device.
121121
*
122122
* A non-nil value if the product identifier has been determined from the device, nil if unknown.
123123
*/
124-
@property (nonatomic, readonly, nullable, copy) NSNumber * productID MTR_NEWLY_AVAILABLE;
124+
@property (nonatomic, readonly, nullable, copy) NSNumber * productID MTR_AVAILABLE(ios(18.3), macos(15.3), watchos(11.3), tvos(18.3));
125125

126126
/**
127127
* Network commissioning features supported by the device.
@@ -362,7 +362,7 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
362362
- (MTRAttributeValueWaiter *)waitForAttributeValues:(NSDictionary<MTRAttributePath *, NSDictionary<NSString *, id> *> *)values
363363
timeout:(NSTimeInterval)timeout
364364
queue:(dispatch_queue_t)queue
365-
completion:(void (^)(NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
365+
completion:(void (^)(NSError * _Nullable error))completion MTR_AVAILABLE(ios(18.3), macos(15.3), watchos(11.3), tvos(18.3));
366366

367367
@end
368368

src/darwin/Framework/CHIP/XPC Protocol/MTRXPCServerProtocol.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ NS_ASSUME_NONNULL_BEGIN
2121
MTR_EXTERN NSString * const MTRDeviceControllerRegistrationNodeIDsKey MTR_AVAILABLE(ios(18.2), macos(15.2), watchos(11.2), tvos(18.2));
2222
MTR_EXTERN NSString * const MTRDeviceControllerRegistrationNodeIDKey MTR_AVAILABLE(ios(18.2), macos(15.2), watchos(11.2), tvos(18.2));
2323
MTR_EXTERN NSString * const MTRDeviceControllerRegistrationControllerContextKey MTR_AVAILABLE(ios(18.2), macos(15.2), watchos(11.2), tvos(18.2));
24-
MTR_EXTERN NSString * const MTRDeviceControllerRegistrationControllerNodeIDKey MTR_NEWLY_AVAILABLE;
25-
MTR_EXTERN NSString * const MTRDeviceControllerRegistrationControllerIsRunningKey MTR_NEWLY_AVAILABLE;
26-
MTR_EXTERN NSString * const MTRDeviceControllerRegistrationDeviceInternalStateKey MTR_NEWLY_AVAILABLE;
27-
MTR_EXTERN NSString * const MTRDeviceControllerRegistrationControllerCompressedFabricIDKey MTR_NEWLY_AVAILABLE;
24+
MTR_EXTERN NSString * const MTRDeviceControllerRegistrationControllerNodeIDKey MTR_AVAILABLE(ios(18.3), macos(15.3), watchos(11.3), tvos(18.3));
25+
MTR_EXTERN NSString * const MTRDeviceControllerRegistrationControllerIsRunningKey MTR_AVAILABLE(ios(18.3), macos(15.3), watchos(11.3), tvos(18.3));
26+
MTR_EXTERN NSString * const MTRDeviceControllerRegistrationDeviceInternalStateKey MTR_AVAILABLE(ios(18.3), macos(15.3), watchos(11.3), tvos(18.3));
27+
MTR_EXTERN NSString * const MTRDeviceControllerRegistrationControllerCompressedFabricIDKey MTR_AVAILABLE(ios(18.3), macos(15.3), watchos(11.3), tvos(18.3));
2828

2929
MTR_AVAILABLE(ios(18.2), macos(15.2), watchos(11.2), tvos(18.2))
3030
@protocol MTRXPCServerProtocol_MTRDevice <NSObject>

0 commit comments

Comments
 (0)