@@ -114,7 +114,7 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
114
114
*
115
115
* The delegate will be called on the provided queue, for attribute reports, event reports, and device state changes.
116
116
*/
117
- - (void )setDelegate:(id <MTRDeviceDelegate>)delegate queue:(dispatch_queue_t )queue MTR_NEWLY_DEPRECATED (" Please use addDelegate:queue:interestedPaths:" );
117
+ - (void )setDelegate:(id <MTRDeviceDelegate>)delegate queue:(dispatch_queue_t )queue MTR_DEPRECATED (" Please use addDelegate:queue:interestedPaths:" , ios( 16.1 , 18.0 ), macos( 13.0 , 15.0 ), watchos( 9.1 , 11.0 ), tvos( 16.1 , 18.0 ) );
118
118
119
119
/* *
120
120
* Adds a delegate to receive asynchronous callbacks about the device.
@@ -123,7 +123,7 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
123
123
*
124
124
* MTRDevice holds a weak reference to the delegate object.
125
125
*/
126
- - (void )addDelegate:(id <MTRDeviceDelegate>)delegate queue:(dispatch_queue_t )queue MTR_NEWLY_AVAILABLE ;
126
+ - (void )addDelegate:(id <MTRDeviceDelegate>)delegate queue:(dispatch_queue_t )queue MTR_AVAILABLE (ios( 18.0 ), macos( 15.0 ), watchos( 11.0 ), tvos( 18.0 )) ;
127
127
128
128
/* *
129
129
* Adds a delegate to receive asynchronous callbacks about the device, and limit attribute and/or event reports to a specific set of paths.
@@ -138,12 +138,12 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
138
138
*
139
139
* MTRDevice holds a weak reference to the delegate object.
140
140
*/
141
- - (void )addDelegate:(id <MTRDeviceDelegate>)delegate queue:(dispatch_queue_t )queue interestedPathsForAttributes:(NSArray * _Nullable)interestedPathsForAttributes interestedPathsForEvents:(NSArray * _Nullable)interestedPathsForEvents MTR_NEWLY_AVAILABLE ;
141
+ - (void )addDelegate:(id <MTRDeviceDelegate>)delegate queue:(dispatch_queue_t )queue interestedPathsForAttributes:(NSArray * _Nullable)interestedPathsForAttributes interestedPathsForEvents:(NSArray * _Nullable)interestedPathsForEvents MTR_AVAILABLE (ios( 18.0 ), macos( 15.0 ), watchos( 11.0 ), tvos( 18.0 )) ;
142
142
143
143
/* *
144
144
* Removes the delegate from receiving callbacks about the device.
145
145
*/
146
- - (void )removeDelegate:(id <MTRDeviceDelegate>)delegate MTR_NEWLY_AVAILABLE ;
146
+ - (void )removeDelegate:(id <MTRDeviceDelegate>)delegate MTR_AVAILABLE (ios( 18.0 ), macos( 15.0 ), watchos( 11.0 ), tvos( 18.0 )) ;
147
147
148
148
/* *
149
149
* Read attribute in a designated attribute path. If there is no value available
0 commit comments