### YamlMime:JavaType
uid: "com.microsoft.azure.sdk.iot.device.ResponseMessage"
fullName: "com.microsoft.azure.sdk.iot.device.ResponseMessage"
name: "ResponseMessage"
nameWithType: "ResponseMessage"
summary: "Extend Message to support status response"
inheritances:
- ""
- ""
inheritedClassMethods:
- classRef: ""
methodsRef:
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- classRef: ""
methodsRef:
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
syntax: "public final class **ResponseMessage** extends "
constructors:
- uid: "com.microsoft.azure.sdk.iot.device.ResponseMessage.ResponseMessage(byte[],com.microsoft.azure.sdk.iot.device.IotHubStatusCode)"
fullName: "com.microsoft.azure.sdk.iot.device.ResponseMessage.ResponseMessage(byte[] body, IotHubStatusCode status)"
name: "ResponseMessage(byte[] body, IotHubStatusCode status)"
nameWithType: "ResponseMessage.ResponseMessage(byte[] body, IotHubStatusCode status)"
summary: "CONSTRUCTOR"
parameters:
- description: "is the byte array with the response message payload"
name: "body"
type: "[]"
- description: "is the response status"
name: "status"
type: ""
syntax: "public ResponseMessage(byte[] body, IotHubStatusCode status)"
desc: "CONSTRUCTOR"
methods:
- uid: "com.microsoft.azure.sdk.iot.device.ResponseMessage.getStatus()"
fullName: "com.microsoft.azure.sdk.iot.device.ResponseMessage.getStatus()"
name: "getStatus()"
nameWithType: "ResponseMessage.getStatus()"
summary: "Getter for the status"
syntax: "public IotHubStatusCode getStatus()"
desc: "Getter for the status"
returns:
description: "the status code"
type: ""
type: "class"
desc: "Extend Message to support status response"
metadata: {}
package: "com.microsoft.azure.sdk.iot.device"
artifact: com.microsoft.azure.sdk.iot:iot-device-client:1.30.1