Package 

Interface MatterActivatorCallback

    • Method Summary

      Modifier and Type Method Description
      abstract void onActivatorSuccess(DeviceBean result) On data success
      abstract void onError(String errorCode, String errorMessage) On data error
      abstract void onDeviceAttestationFailed(long deviceControllerPtr, long devicePtr, int errorCode) On device attestation failed, will receive this callback,should let the user decide whether to continue the setup
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onError

         abstract void onError(String errorCode, String errorMessage)

        On data error

        Parameters:
        errorCode - error code
        errorMessage - error message
      • onDeviceAttestationFailed

         abstract void onDeviceAttestationFailed(long deviceControllerPtr, long devicePtr, int errorCode)

        On device attestation failed, will receive this callback,should let the user decide whether to continue the setup

        Parameters:
        deviceControllerPtr - Matter Controller pointer address
        devicePtr - current Matter device pointer address
        errorCode - device attestation error code