Package 

Interface MqttFlowRespParseListener

    • Method Summary

      Modifier and Type Method Description
      abstract String getLocalKey(String topicId) Get device localKey.
      abstract void onError(String errorCode, String errorMsg) Parse message occur some error.
      abstract void onSuccess(String topicId, Array<byte> data) Parse message success.
      • Methods inherited from class java.lang.Object

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

      • getLocalKey

         abstract String getLocalKey(String topicId)

        Get device localKey.

        Parameters:
        topicId - device id
      • onError

         abstract void onError(String errorCode, String errorMsg)

        Parse message occur some error.

        Parameters:
        errorCode - errorCode
        errorMsg - errorMessage
      • onSuccess

         abstract void onSuccess(String topicId, Array<byte> data)

        Parse message success.

        Parameters:
        topicId - device id
        data - data bytes