IotHubConnectionStatusChangeReason Enum
- java.
lang. Object - java.
lang. Enum - com.
microsoft. azure. sdk. iot. device. IotHubConnectionStatusChangeReason
- com.
- java.
public enum IotHubConnectionStatusChangeReason
extends java.lang.Enum<IotHubConnectionStatusChangeReason>
Fields
BAD_CREDENTIAL |
Incorrect credentials were supplied to the client instance. |
CLIENT_CLOSE |
The client has been closed gracefully. |
COMMUNICATION_ERROR |
This can be returned with either a connection status of DISCONNECTED or DISCONNECTED_RETRYING. |
CONNECTION_OK |
The client is connected, and ready to be used. |
EXPIRED_SAS_TOKEN |
The SAS token associated with the client has expired, and cannot be renewed. |
NO_NETWORK |
The client was disconnected due to loss of network, the client will attempt for recovery. |
RETRY_EXPIRED |
The client was disconnected due to a transient exception, but the retry policy expired before a connection could be re-established. |
Methods inherited from java.lang.Enum
Methods inherited from java.lang.Object
Methods
valueOf(String name)
public static IotHubConnectionStatusChangeReason valueOf(String name)
Parameters
- name
- java.lang.String
Returns
values()
public static IotHubConnectionStatusChangeReason[] values()
Returns
Applies to
Azure SDK for Java