public interface PingCallback
发送Ping消息的回调接口。
ping接口30s后超时会抛出HiWearException 203错误码。
Modifier and Type
Method and Description
void
onResult(int result) 发送消息的结果回调函数。
void onResult(int result)
发送消息的结果回调函数。
Parameters:
Parameter Name
Parameter Description
result
结果码,同HiWearErrorCode一样。