IotHubStatusCode Enum
- java.
lang. Object - java.
lang. Enum - com.
microsoft. azure. sdk. iot. device. IotHubStatusCode
- com.
- java.
public enum IotHubStatusCode
extends java.lang.Enum<IotHubStatusCode>
An IoT Hub status code. Included in a message from an IoT Hub to a device.
Fields
BAD_FORMAT | |
ERROR | |
HUB_OR_DEVICE_ID_NOT_FOUND | |
INTERNAL_SERVER_ERROR | |
MESSAGE_CANCELLED_ONCLOSE | |
MESSAGE_EXPIRED | |
OK | |
OK_EMPTY | |
PRECONDITION_FAILED | |
REQUEST_ENTITY_TOO_LARGE | |
SERVER_BUSY | |
THROTTLED | |
TOO_MANY_DEVICES | |
UNAUTHORIZED |
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
getConnectionStatusException(IotHubStatusCode statusCode, String statusDescription)
public static IotHubServiceException getConnectionStatusException(IotHubStatusCode statusCode, String statusDescription)
Parameters
- statusCode
- IotHubStatusCode
- statusDescription
- java.lang.String
Returns
getIotHubStatusCode(int httpsStatus)
public static IotHubStatusCode getIotHubStatusCode(int httpsStatus)
Returns the IoT Hub status code referenced by the HTTPS status code.
Parameters
- httpsStatus
- int
Returns
the corresponding IoT Hub status code.
valueOf(String name)
public static IotHubStatusCode valueOf(String name)
Parameters
- name
- java.lang.String
Returns
values()
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java