Skip to content

Commit 18f49aa

Browse files
More clearly document MTRDeviceControllerDelegate commissioningComplete. (project-chip#38232)
Fixes project-chip#31850
1 parent 102e709 commit 18f49aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/darwin/Framework/CHIP/MTRDeviceControllerDelegate.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4))
6868
* Exactly one of error and nodeID will be nil.
6969
*
7070
* If nodeID is not nil, then it represents the node id the node was assigned, as encoded in its operational certificate.
71+
*
72+
* This selector will not be used if controller:commissioningComplete:nodeID:metrics: is supported.
7173
*/
7274
- (void)controller:(MTRDeviceController *)controller
7375
commissioningComplete:(NSError * _Nullable)error
@@ -81,6 +83,8 @@ MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4))
8183
* If nodeID is not nil, then it represents the node id the node was assigned, as encoded in its operational certificate.
8284
*
8385
* The metrics object contains information corresponding to the commissioning session.
86+
*
87+
* If supported, this selector will be used in preference to controller:commissioningComplete:nodeID:.
8488
*/
8589
- (void)controller:(MTRDeviceController *)controller
8690
commissioningComplete:(NSError * _Nullable)error

0 commit comments

Comments
 (0)