# ThreadNetworkStatusCodes

public class **ThreadNetworkStatusCodes** extends CommonStatusCodes  
Status codes for `https://developers.home.google.com/android/reference/com/google/android/gms/threadnetwork/ThreadNetworkClient`
methods result `https://developers.home.google.com/android/reference/com/google/android/gms/tasks/Task` failures.

The codes are supplementary to common status codes in `https://developers.home.google.com/android/reference/com/google/android/gms/common/api/CommonStatusCodes`.

### Constant Summary

|---|---|---|
| int | [LOCAL_NETWORK_NOT_CONNECTED](https://developers.home.google.com/android/reference/com/google/android/gms/threadnetwork/ThreadNetworkStatusCodes#LOCAL_NETWORK_NOT_CONNECTED) | Local Wi-Fi or Ethernet network is not connected. |
| int | [MAX_STORAGE_SIZE_EXCEEDED](https://developers.home.google.com/android/reference/com/google/android/gms/threadnetwork/ThreadNetworkStatusCodes#MAX_STORAGE_SIZE_EXCEEDED) | Failed to add Thread network credentials because the storage quota is exceeded. |
| int | [PERMISSION_DENIED](https://developers.home.google.com/android/reference/com/google/android/gms/threadnetwork/ThreadNetworkStatusCodes#PERMISSION_DENIED) | Operation is not permitted. |
| int | [PLATFORM_NOT_SUPPORTED](https://developers.home.google.com/android/reference/com/google/android/gms/threadnetwork/ThreadNetworkStatusCodes#PLATFORM_NOT_SUPPORTED) | Operation is not supported on current platform. |

### Inherited Constant Summary

From class com.google.android.gms.common.api.CommonStatusCodes

|---|---|---|
| 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

|---|---|
|   | [ThreadNetworkStatusCodes](https://developers.home.google.com/android/reference/com/google/android/gms/threadnetwork/ThreadNetworkStatusCodes#ThreadNetworkStatusCodes())() |

### Public Method Summary

|---|---|
| static [String](https://developer.android.com/reference/java/lang/String.html) | [getStatusCodeString](https://developers.home.google.com/android/reference/com/google/android/gms/threadnetwork/ThreadNetworkStatusCodes#getStatusCodeString(int))(int statusCode) Get the debug string associated with the status code. |

### Inherited Method Summary

From class com.google.android.gms.common.api.CommonStatusCodes

|---|---|
| static [String](https://developer.android.com/reference/java/lang/String.html) | getStatusCodeString(int arg0) |

From class java.lang.Object

|---|---|
| [Object](https://developer.android.com/reference/java/lang/Object.html) | clone() |
| boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |
| void | finalize() |
| final [Class](https://developer.android.com/reference/java/lang/Class.html)\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| [String](https://developer.android.com/reference/java/lang/String.html) | 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](https://developer.android.com/reference/java/lang/String.html) **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.