目录

SendCallback

public interface SendCallback

It is the callback API used for sending messages.

Method Summary

Modifier and Type

Method and Description

void

onSendProgress(long count) Indicates the callback function for the message sending progress.

void

onSendResult(int errCode) Indicates the callback function for the message sending result.

Method Detail

[h2]onSendResult

void onSendResult(int errCode)

It indicates the callback function for the message sending result.

Parameters:

Parameter Name

Parameter Description

errCode

Result code. For details, see WearEngineErrorCode.

Since:

API level 0 (SDK 5.0.0.301)

[h2]onSendProgress

void onSendProgress(long count)

It indicates the callback function for the message sending progress.

Parameters:

Parameter Name

Parameter Description

count

Progress value

Since:

API level 0 (SDK 5.0.0.301)