@@ -81,12 +81,12 @@ typedef NS_ENUM(NSUInteger, MTRDeviceState) {
81
81
* The controller this device was created for. May return nil if that
82
82
* controller has been shut down.
83
83
*/
84
- @property (nonatomic , readonly , nullable ) MTRDeviceController * deviceController MTR_NEWLY_AVAILABLE ;
84
+ @property (nonatomic , readonly , nullable ) MTRDeviceController * deviceController MTR_AVAILABLE (ios( 17.4 ), macos( 14.4 ), watchos( 10.4 ), tvos( 17.4 )) ;
85
85
86
86
/* *
87
87
* The node ID of the node this device corresponds to.
88
88
*/
89
- @property (nonatomic , readonly , copy ) NSNumber * nodeID NS_REFINED_FOR_SWIFT MTR_NEWLY_AVAILABLE ;
89
+ @property (nonatomic , readonly , copy ) NSNumber * nodeID NS_REFINED_FOR_SWIFT MTR_AVAILABLE (ios( 17.4 ), macos( 14.4 ), watchos( 10.4 ), tvos( 17.4 )) ;
90
90
91
91
/* *
92
92
* Set the delegate to receive asynchronous callbacks about the device.
@@ -189,7 +189,7 @@ typedef NS_ENUM(NSUInteger, MTRDeviceState) {
189
189
expectedValues : (NSArray <NSDictionary<NSString *, id> *> * _Nullable)expectedValues
190
190
expectedValueInterval : (NSNumber * _Nullable)expectedValueInterval
191
191
queue : (dispatch_queue_t )queue
192
- completion : (MTRDeviceResponseHandler)completion MTR_NEWLY_AVAILABLE ;
192
+ completion : (MTRDeviceResponseHandler)completion MTR_AVAILABLE(ios( 17.4 ), macos( 14.4 ), watchos( 10.4 ), tvos( 17.4 )) ;
193
193
194
194
- (void )invokeCommandWithEndpointID : (NSNumber *)endpointID
195
195
clusterID : (NSNumber *)clusterID
@@ -255,22 +255,22 @@ typedef NS_ENUM(NSUInteger, MTRDeviceState) {
255
255
* List of all client data types supported
256
256
*
257
257
*/
258
- - (NSArray *)supportedClientDataClasses MTR_NEWLY_AVAILABLE ;
258
+ - (NSArray *)supportedClientDataClasses MTR_UNSTABLE_API ;
259
259
260
260
/* *
261
261
*
262
262
* List of all client data keys stored
263
263
*
264
264
*/
265
- - (NSArray * _Nullable)clientDataKeys MTR_NEWLY_AVAILABLE ;
265
+ - (NSArray * _Nullable)clientDataKeys MTR_UNSTABLE_API ;
266
266
267
267
/* *
268
268
*
269
269
* Retrieve client metadata for a key, returns nil if no value is set
270
270
*
271
271
* @param key NSString * for the key to store the value as
272
272
*/
273
- - (id <NSSecureCoding > _Nullable)clientDataForKey : (NSString *)key MTR_NEWLY_AVAILABLE ;
273
+ - (id <NSSecureCoding > _Nullable)clientDataForKey : (NSString *)key MTR_UNSTABLE_API ;
274
274
275
275
/* *
276
276
*
@@ -279,22 +279,22 @@ typedef NS_ENUM(NSUInteger, MTRDeviceState) {
279
279
* @param key NSString * for the key to store the value as
280
280
* @param value id <NSSecureCoding> for the value to store
281
281
*/
282
- - (void )setClientDataForKey : (NSString *)key value : (id <NSSecureCoding >)value MTR_NEWLY_AVAILABLE ;
282
+ - (void )setClientDataForKey : (NSString *)key value : (id <NSSecureCoding >)value MTR_UNSTABLE_API ;
283
283
284
284
/* *
285
285
*
286
286
* Remove client metadata for a key.
287
287
*
288
288
* @param key NSString * for the key to store the value as
289
289
*/
290
- - (void )removeClientDataForKey : (NSString *)key MTR_NEWLY_AVAILABLE ;
290
+ - (void )removeClientDataForKey : (NSString *)key MTR_UNSTABLE_API ;
291
291
292
292
/* *
293
293
*
294
294
* List of all client data keys stored
295
295
*
296
296
*/
297
- - (NSArray * _Nullable)clientDataKeysForEndpointID : (NSNumber *)endpointID MTR_NEWLY_AVAILABLE ;
297
+ - (NSArray * _Nullable)clientDataKeysForEndpointID : (NSNumber *)endpointID MTR_UNSTABLE_API ;
298
298
299
299
/* *
300
300
*
@@ -303,7 +303,7 @@ typedef NS_ENUM(NSUInteger, MTRDeviceState) {
303
303
* @param key NSString * for the key to store the value as
304
304
* @param endpointID NSNumber * for the endpoint to associate the metadata with
305
305
*/
306
- - (id <NSSecureCoding > _Nullable)clientDataForKey : (NSString *)key endpointID : (NSNumber *)endpointID MTR_NEWLY_AVAILABLE ;
306
+ - (id <NSSecureCoding > _Nullable)clientDataForKey : (NSString *)key endpointID : (NSNumber *)endpointID MTR_UNSTABLE_API ;
307
307
308
308
/* *
309
309
*
@@ -313,7 +313,7 @@ typedef NS_ENUM(NSUInteger, MTRDeviceState) {
313
313
* @param endpointID NSNumber * for the endpoint to associate the metadata with
314
314
* @param value id <NSSecureCoding> for the value to store
315
315
*/
316
- - (void )setClientDataForKey : (NSString *)key endpointID : (NSNumber *)endpointID value : (id <NSSecureCoding >)value MTR_NEWLY_AVAILABLE ;
316
+ - (void )setClientDataForKey : (NSString *)key endpointID : (NSNumber *)endpointID value : (id <NSSecureCoding >)value MTR_UNSTABLE_API ;
317
317
318
318
/* *
319
319
*
@@ -322,7 +322,7 @@ typedef NS_ENUM(NSUInteger, MTRDeviceState) {
322
322
* @param key NSString * for the key to store the value as
323
323
* @param endpointID NSNumber * for the endpoint to associate the metadata with
324
324
*/
325
- - (void )removeClientDataForKey : (NSString *)key endpointID : (NSNumber *)endpointID MTR_NEWLY_AVAILABLE ;
325
+ - (void )removeClientDataForKey : (NSString *)key endpointID : (NSNumber *)endpointID MTR_UNSTABLE_API ;
326
326
327
327
@end
328
328
0 commit comments