目录

HiWearErrorCode

java.lang.Object

|---com.huawei.watch.kit.hiwear.common.HiWearErrorCode

public final class HiWearErrorCode
extends java.lang.Object

Wear Engine error codes.

Field Summary

Modifier and Type

Field and Description

static int

ERROR_CODE_DEVICE_IS_NOT_CONNECTED Indicates that the device is not connected.

static int

ERROR_CODE_DEVICE_VERSION_NOT_SUPPORT Indicates that the device version is not supported.

static int

ERROR_CODE_INTERNAL_ERRORInternal error code. When it is displayed, contact Huawei Wear Engine technical support for assistance.

static int

ERROR_CODE_SUCCESS indicates success.

static int

MSG_ERROR_PING_OTHER Indicates other errors.

static int

MSG_ERROR_PING_PHONE_APP_NOT_EXIST Indicates that the app has not been installed on the phone.

static int

MSG_ERROR_PING_PHONE_APP_EXIST Indicates that the app has been installed on the phone.

static int

MSG_ERROR_PING_WATCH_APP_EXIST_RUNNING Indicates that the app is running on the phone.

static int

MSG_ERROR_PING_WATCH_APP_NOT_EXIST Indicates that the app has not been installed on the watch.

static int

MSG_ERROR_PING_WATCH_APP_NOT_RUNNING Indicates that the app has been installed on the watch but is not running.

static int

MSG_ERROR_SEND_FAIL Indicates that the message fails to be sent.

static int

MSG_ERROR_SEND_SUCCESS Indicates that the message has been sent.

Method Summary

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

[h2]MSG_ERROR_PING_WATCH_APP_NOT_EXIST

public static final int MSG_ERROR_PING_WATCH_APP_NOT_EXIST

It indicates that the app has not been installed on the watch.

See Also:

Constant Field Values

[h2]MSG_ERROR_PING_WATCH_APP_NOT_RUNNING

public static final int MSG_ERROR_PING_WATCH_APP_NOT_RUNNING

It indicates that the app has been installed on the watch but is not running.

See Also:

Constant Field Values

[h2]MSG_ERROR_PING_WATCH_APP_EXIST_RUNNING

public static final int MSG_ERROR_PING_WATCH_APP_EXIST_RUNNING

It indicates that the app is running on the phone.

See Also:

Constant Field Values

[h2]MSG_ERROR_PING_OTHER

public static final int MSG_ERROR_PING_OTHER

It indicates other errors.

See Also:

Constant Field Values

[h2]ERROR_CODE_SUCCESS

public static final int ERROR_CODE_SUCCESS

It indicates success.

See Also:

Constant Field Values

[h2]ERROR_CODE_INTERNAL_ERROR

public static final int ERROR_CODE_INTERNAL_ERROR

Internal error code. When it is displayed, contact Huawei Wear Engine technical support for assistance.

See Also:

Constant Field Values

[h2]ERROR_CODE_DEVICE_VERSION_NOT_SUPPORT

public static final int ERROR_CODE_DEVICE_VERSION_NOT_SUPPORT

It indicates that the device version is not supported.

See Also:

Constant Field Values

[h2]ERROR_CODE_DEVICE_IS_NOT_CONNECTED

public static final int ERROR_CODE_DEVICE_IS_NOT_CONNECTED

it indicates that the device is not connected.

See Also:

Constant Field Values

[h2]MSG_ERROR_PING_PHONE_APP_NOT_EXIST

public static final int MSG_ERROR_PING_PHONE_APP_NOT_EXIST

It indicates that the app has not been installed on the phone.

See Also:

Constant Field Values

[h2]MSG_ERROR_PING_PHONE_APP_EXIST

public static final int MSG_ERROR_PING_PHONE_APP_EXIST

It indicates that the app has been installed on the phone.

See Also:

Constant Field Values

[h2]MSG_ERROR_SEND_FAIL

public static final int MSG_ERROR_SEND_FAIL

It indicates that the message fails to be sent.

See Also:

Constant Field Values

[h2]MSG_ERROR_SEND_SUCCESS

public static final int MSG_ERROR_SEND_SUCCESS

It indicates that the message has been sent.

See Also:

Constant Field Values