@@ -58,7 +58,7 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
58
58
* on the controller to avoid leaking it.
59
59
*/
60
60
- (nullable instancetype )initWithParameters:(MTRDeviceControllerAbstractParameters *)parameters
61
- error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE ;
61
+ error:(NSError * __autoreleasing *)error MTR_AVAILABLE (ios( 17.6 ), macos( 14.6 ), watchos( 10.6 ), tvos( 17.6 )) ;
62
62
63
63
/* *
64
64
* If true, the controller has not been shut down yet.
@@ -68,7 +68,7 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
68
68
/* *
69
69
* The ID assigned to this controller at creation time.
70
70
*/
71
- @property (readonly, nonatomic) NSUUID * uniqueIdentifier MTR_NEWLY_AVAILABLE ;
71
+ @property (readonly, nonatomic) NSUUID * uniqueIdentifier MTR_AVAILABLE (ios( 17.6 ), macos( 14.6 ), watchos( 10.6 ), tvos( 17.6 )) ;
72
72
73
73
/* *
74
74
* Return the Node ID assigned to the controller. Will return nil if the
@@ -178,8 +178,7 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
178
178
error:(NSError * __autoreleasing *)error
179
179
MTR_AVAILABLE (ios(16.4 ), macos(13.3 ), watchos(9.4 ), tvos(16.4 ));
180
180
181
- - (void )preWarmCommissioningSession MTR_AVAILABLE (ios(16.4 ), macos(13.3 ), watchos(9.4 ), tvos(16.4 ))
182
- MTR_NEWLY_DEPRECATED(" -[MTRDeviceControllerFactory preWarmCommissioningSession]" );
181
+ - (void )preWarmCommissioningSession MTR_DEPRECATED (" -[MTRDeviceControllerFactory preWarmCommissioningSession]" , ios(16.4 , 17.6 ), macos(13.3 , 14.6 ), watchos(9.4 , 10.6 ), tvos(16.4 , 17.6 ));
183
182
184
183
/* *
185
184
* Set the Delegate for the device controller as well as the Queue on which the Delegate callbacks will be triggered
@@ -223,20 +222,20 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
223
222
* 1) There is already an endpoint defined with the given endpoint id.
224
223
* 2) There are too many endpoints defined already.
225
224
*/
226
- - (BOOL )addServerEndpoint:(MTRServerEndpoint *)endpoint MTR_NEWLY_AVAILABLE ;
225
+ - (BOOL )addServerEndpoint:(MTRServerEndpoint *)endpoint MTR_AVAILABLE (ios( 17.6 ), macos( 14.6 ), watchos( 10.6 ), tvos( 17.6 )) ;
227
226
228
227
/* *
229
228
* Remove the given server endpoint from this controller. If the endpoint is
230
229
* not attached to this controller, will just call the completion and do nothing
231
230
* else.
232
231
*/
233
- - (void )removeServerEndpoint:(MTRServerEndpoint *)endpoint queue:(dispatch_queue_t )queue completion:(dispatch_block_t )completion MTR_NEWLY_AVAILABLE ;
232
+ - (void )removeServerEndpoint:(MTRServerEndpoint *)endpoint queue:(dispatch_queue_t )queue completion:(dispatch_block_t )completion MTR_AVAILABLE (ios( 17.6 ), macos( 14.6 ), watchos( 10.6 ), tvos( 17.6 )) ;
234
233
235
234
/* *
236
235
* Remove the given server endpoint without being notified when the removal
237
236
* completes.
238
237
*/
239
- - (void )removeServerEndpoint:(MTRServerEndpoint *)endpoint MTR_NEWLY_AVAILABLE ;
238
+ - (void )removeServerEndpoint:(MTRServerEndpoint *)endpoint MTR_AVAILABLE (ios( 17.6 ), macos( 14.6 ), watchos( 10.6 ), tvos( 17.6 )) ;
240
239
241
240
/* *
242
241
* Compute a PASE verifier for the desired setup passcode.
0 commit comments