Package 

Class DataCustom2ChannelListener

  • All Implemented Interfaces:
    com.thingclips.smart.android.ble.api.DataChannelListener

    
    public abstract class DataCustom2ChannelListener
    extends DataCustomChannelListener
                        

    DataCustom2ChannelListener is used to report the received-dps-data to caller, and it will notify the caller with upload progress 、 upload result.

    • Method Summary

      Modifier and Type Method Description
      abstract void onDpsReceived(List<ChannelDataDps> channelDataDpsList) a callback for dps receivedonDpsReceived will be called when the dps have been sent from device completely.
      abstract void onUploadProgress(int uploadProgress) report upload cloud 's progress to caller
      • Methods inherited from class com.thingclips.smart.android.ble.api.DataCustomChannelListener

        onDataFinish, onProgress, onSuccess
      • Methods inherited from class com.thingclips.smart.android.ble.api.DataChannelListener

        onFail
      • Methods inherited from class java.lang.Object

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

      • onDpsReceived

         abstract void onDpsReceived(List<ChannelDataDps> channelDataDpsList)

        a callback for dps receivedonDpsReceived will be called when the dps have been sent from device completely.

        Parameters:
        channelDataDpsList - the dps list from device
      • onUploadProgress

         abstract void onUploadProgress(int uploadProgress)

        report upload cloud 's progress to caller

        Parameters:
        uploadProgress - progress of upload cloud