你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DeviceConnectionState Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.azure.sdk.iot.service.DeviceConnectionState

public enum DeviceConnectionState
extends java.lang.Enum<DeviceConnectionState>

Enum for device connection state

Fields

Connected
Disconnected

Methods inherited from java.lang.Enum

java.lang.Enum.<T>valueOf java.lang.Enum.clone java.lang.Enum.compareTo java.lang.Enum.describeConstable 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

fromString(String connectionState)

public static DeviceConnectionState fromString(String connectionState)

Parameters

connectionState
java.lang.String

Returns

getValue()

public String getValue()

Returns

java.lang.String

valueOf(String name)

public static DeviceConnectionState valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static DeviceConnectionState[] values()

Returns

Applies to