ThreadNetworkStatusCodes

public class ThreadNetworkStatusCodes extends CommonStatusCodes

Status codes for ThreadNetworkClient methods result Task failures.

The codes are supplementary to common status codes in CommonStatusCodes.

Constant Summary

int LOCAL_NETWORK_NOT_CONNECTED Local Wi-Fi or Ethernet network is not connected.
int MAX_STORAGE_SIZE_EXCEEDED Failed to add Thread network credentials because the storage quota is exceeded.
int PERMISSION_DENIED Operation is not permitted.
int PLATFORM_NOT_SUPPORTED Operation is not supported on current platform.

Inherited Constant Summary

int API_NOT_CONNECTED
int CANCELED
int CONNECTION_SUSPENDED_DURING_CALL
int DEVELOPER_ERROR
int ERROR
int INTERNAL_ERROR
int INTERRUPTED
int INVALID_ACCOUNT
int NETWORK_ERROR
int RECONNECTION_TIMED_OUT
int RECONNECTION_TIMED_OUT_DURING_UPDATE
int REMOTE_EXCEPTION
int RESOLUTION_REQUIRED
int SERVICE_DISABLED
int SERVICE_VERSION_UPDATE_REQUIRED
int SIGN_IN_REQUIRED
int SUCCESS
int SUCCESS_CACHE
int TIMEOUT

Public Constructor Summary

Public Method Summary

static String
getStatusCodeString(int statusCode)
Get the debug string associated with the status code.

Inherited Method Summary

static String
getStatusCodeString(int arg0)
Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Constants

public static final int LOCAL_NETWORK_NOT_CONNECTED

Local Wi-Fi or Ethernet network is not connected.

Constant Value: 44001

public static final int MAX_STORAGE_SIZE_EXCEEDED

Failed to add Thread network credentials because the storage quota is exceeded.

Constant Value: 44003

public static final int PERMISSION_DENIED

Operation is not permitted.

Constant Value: 44000

public static final int PLATFORM_NOT_SUPPORTED

Operation is not supported on current platform.

Constant Value: 44002

Public Constructors

public ThreadNetworkStatusCodes ()

Public Methods

public static String getStatusCodeString (int statusCode)

Get the debug string associated with the status code. This can be used for clearer logging messages to avoid having to look up error codes.