Skip to content

Commit 364bf36

Browse files
Update MatterController.kt
1 parent b0ddb82 commit 364bf36

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/controller/java/src/matter/controller/MatterController.kt

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ interface MatterController : Closeable, InteractionClient {
3131
fun onStatusUpdate(status: Int)
3232

3333
/** Notifies the completion of pairing. */
34-
fun onPairingComplete(errorCode: Long)
34+
fun onPairingComplete(errorCode: UInt)
3535

3636
/** Notifies the deletion of a pairing session. */
37-
fun onPairingDeleted(errorCode: Long)
37+
fun onPairingDeleted(errorCode: UInt)
3838

3939
/** Notifies that the CHIP connection has been closed. */
4040
fun onNotifyChipConnectionClosed()
4141

4242
/** Notifies the completion of commissioning. */
43-
fun onCommissioningComplete(nodeId: Long, errorCode: Long)
43+
fun onCommissioningComplete(nodeId: Long, errorCode: UInt)
4444

4545
/** Notifies the completion of reading commissioning information. */
4646
fun onReadCommissioningInfo(
@@ -51,7 +51,7 @@ interface MatterController : Closeable, InteractionClient {
5151
)
5252

5353
/** Notifies the completion of each stage of commissioning. */
54-
fun onCommissioningStatusUpdate(nodeId: Long, stage: String?, errorCode: Long)
54+
fun onCommissioningStatusUpdate(nodeId: Long, stage: String?, errorCode: UInt)
5555

5656
/** Notifies the listener of an error. */
5757
fun onError(error: Throwable)
@@ -66,7 +66,7 @@ interface MatterController : Closeable, InteractionClient {
6666
fun onICDRegistrationInfoRequired()
6767

6868
/** Notifies when the registration flow for the ICD completes. */
69-
fun onICDRegistrationComplete(errorCode: Long, icdDeviceInfo: ICDDeviceInfo)
69+
fun onICDRegistrationComplete(errorCode: UInt, icdDeviceInfo: ICDDeviceInfo)
7070
}
7171

7272
/**

0 commit comments

Comments
 (0)