com.pax.dal
Interface IWifiProbe.ProbeListener
-
- Enclosing interface:
- IWifiProbe
public static interface IWifiProbe.ProbeListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidonFailure(int reason)发生错误error occuredvoidonFinish()结束probe finishedvoidonProbeItem(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 addressrssi-信号强度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
-
-