目录

PingCallback

public interface PingCallback

It is the callback API of ping messages.

Method Summary

Modifier and Type

Method and Description

void

onPingResult(int errCode) Indicates the callback function of the result of the ping message.

Method Detail

[h2]onPingResult

void onPingResult(int errCode)

It indicates the callback function of the result of the ping message.

Parameters:

Parameter Name

Parameter Description

errCode

Ping result. For details, see WearEngineErrorCode.

Since:

API level 0 (SDK 5.0.0.301)