目录

PingCallback

public interface PingCallback

发送Ping消息的回调接口。

ping接口30s后超时会抛出HiWearException 203错误码。

Method Summary

Modifier and Type

Method and Description

void

onResult(int result) 发送消息的结果回调函数。

Method Detail

[h2]onResult

void onResult(int result)

发送消息的结果回调函数。

Parameters:

Parameter Name

Parameter Description

result

结果码,同HiWearErrorCode一样。