IotHubConnectionStatusChangeReason Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.azure.sdk.iot.device.IotHubConnectionStatusChangeReason

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

java.lang.Enum.<T>valueOf java.lang.Enum.clone java.lang.Enum.compareTo java.lang.Enum.equals java.lang.Enum.finalize java.lang.Enum.getDeclaringClass java.lang.Enum.hashCode java.lang.Enum.name java.lang.Enum.ordinal java.lang.Enum.toString

Methods inherited from java.lang.Object

java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Methods

valueOf(String name)

public static IotHubConnectionStatusChangeReason valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static IotHubConnectionStatusChangeReason[] values()

Returns

Applies to