public interface SendCallback
It is the callback API for sending messages.
It is used to call back the sending result after the wearable device sends a message to the phone.
Modifier and Type | Method and Description |
|---|---|
default 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. |
void onSendResult(int errCode)
It indicates the callback function of the message sending result.
Parameters:
Parameter Name | Parameter Description |
|---|---|
errCode | Result code, which is the same as HiWearErrorCode. |