IotHubConnectionStatus Enum

  • java.lang.Object
    • java.lang.Enum<IotHubConnectionStatus>
      • com.microsoft.azure.sdk.iot.device.transport.IotHubConnectionStatus

public enum IotHubConnectionStatus

Fields

CONNECTED

The device or module is connected.

The client is connected, and ready to be used.

DISCONNECTED

The device or module is disconnected.

Inspect the associated IotHubConnectionStatusChangeReason returned (and exception thrown, if any), and take appropriate action.

DISCONNECTED_RETRYING

The device or module is attempting to reconnect.

The client is attempting to recover the connection. Do NOT close or open the client instance when it is retrying.

Applies to