com.pax.dal

Interface IWifiProbe.ProbeListener

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void onFailure(int reason)
      发生错误
      error occured
      void onFinish()
      结束
      probe finished
      void onProbeItem(java.lang.String probeinfo, java.lang.String rssi)
      返回获取到的Wi-Fi设备MAC地址和信号强度
      return probe Wi-Fi MAC address and rssi
    • Method Detail

      • onProbeItem

        void onProbeItem(java.lang.String probeinfo,
                         java.lang.String rssi)
        返回获取到的Wi-Fi设备MAC地址和信号强度
        return probe Wi-Fi MAC address and rssi
        Parameters:
        probeinfo -
        MAC地址
        MAC address
        rssi -
        信号强度
        RSSI(Received Signal Strength Indication)
        Since:
        V2.03.00
      • onFinish

        void onFinish()
        结束
        probe finished
        Since:
        V2.03.00
      • onFailure

        void onFailure(int reason)
        发生错误
        error occured
        Parameters:
        reason -
        • 0:内部错误
        • 1:设备不支持p2p
        • 2:系统忙
        • 3:没有服务请求
        • 0:internal error
        • 1:p2p is unsupported on the device
        • 2:the framework is busy and unable to service the request
        • 3:no service requests are added.
        Since:
        V2.03.00