public final class

WearableStatusCodes

extends CommonStatusCodes
java.lang.Object
   ↳ com.google.android.gms.common.api.CommonStatusCodes
     ↳ com.google.android.gms.wearable.WearableStatusCodes

Class Overview

Error codes for wearable API failures. These values may be returned by APIs to indicate the success or failure of a request.

Summary

Constants
int ASSET_UNAVAILABLE Indicates that the requested asset is unavailable.
int DATA_ITEM_TOO_LARGE Indicates that the data item was too large to set.
int DUPLICATE_CAPABILITY Indicates that the specified capability already exists.
int DUPLICATE_LISTENER Indicates that the specified listener is already registered.
int INVALID_TARGET_NODE Indicates that the targeted node is not a valid node in the wearable network.
int TARGET_NODE_NOT_CONNECTED Indicates that the targeted node is not accessible in the wearable network.
int UNKNOWN_CAPABILITY Indicates that the specified capability is not recognized.
int UNKNOWN_LISTENER Indicates that the specified listener is not recognized.
int WIFI_CREDENTIAL_SYNC_NO_CREDENTIAL_FETCHED Indicates that the WiFi credential sync no credential fetched.
[Expand]
Inherited Constants
From class com.google.android.gms.common.api.CommonStatusCodes
Public Methods
static String getStatusCodeString(int statusCode)
Returns an untranslated debug (not user-friendly!) string based on the current status code.
[Expand]
Inherited Methods
From class com.google.android.gms.common.api.CommonStatusCodes
From class java.lang.Object

Constants

public static final int ASSET_UNAVAILABLE

Indicates that the requested asset is unavailable.

Constant Value: 4005 (0x00000fa5)

public static final int DATA_ITEM_TOO_LARGE

Indicates that the data item was too large to set.

Constant Value: 4003 (0x00000fa3)

public static final int DUPLICATE_CAPABILITY

Indicates that the specified capability already exists.

Constant Value: 4006 (0x00000fa6)

public static final int DUPLICATE_LISTENER

Indicates that the specified listener is already registered.

Constant Value: 4001 (0x00000fa1)

public static final int INVALID_TARGET_NODE

Indicates that the targeted node is not a valid node in the wearable network.

Constant Value: 4004 (0x00000fa4)

public static final int TARGET_NODE_NOT_CONNECTED

Indicates that the targeted node is not accessible in the wearable network.

Constant Value: 4000 (0x00000fa0)

public static final int UNKNOWN_CAPABILITY

Indicates that the specified capability is not recognized.

Constant Value: 4007 (0x00000fa7)

public static final int UNKNOWN_LISTENER

Indicates that the specified listener is not recognized.

Constant Value: 4002 (0x00000fa2)

public static final int WIFI_CREDENTIAL_SYNC_NO_CREDENTIAL_FETCHED

Indicates that the WiFi credential sync no credential fetched.

Constant Value: 4008 (0x00000fa8)

Public Methods

public static String getStatusCodeString (int statusCode)

Returns an untranslated debug (not user-friendly!) string based on the current status code.

Parameters
statusCode int
Returns
String