目录

SendCallback

public interface SendCallback

发送消息的回调接口。

Method Summary

Modifier and Type

Method and Description

void

onSendProgress(long count) 发送消息的进度回调函数。

void

onSendResult(int errCode) 发送消息的结果回调函数。

Method Detail

[h2]onSendResult

void onSendResult(int errCode)

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

Parameters:

Parameter Name

Parameter Description

errCode

返回码,具体的值参见 WearEngineErrorCode

Since:

API level 0 (SDK 5.0.0.301)

[h2]onSendProgress

void onSendProgress(long count)

发送消息的进度回调函数。

Parameters:

Parameter Name

Parameter Description

count

进度值

Since:

API level 0 (SDK 5.0.0.301)