azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.sdk.iot...

55 строки
3.7 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.sdk.iot.service.devicetwin.MethodResult"
fullName: "com.microsoft.azure.sdk.iot.service.devicetwin.MethodResult"
name: "MethodResult"
nameWithType: "MethodResult"
summary: "Store the status and payload received as result of a method invoke."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public final class **MethodResult**"
constructors:
- uid: "com.microsoft.azure.sdk.iot.service.devicetwin.MethodResult.MethodResult(java.lang.Integer,java.lang.Object)"
fullName: "com.microsoft.azure.sdk.iot.service.devicetwin.MethodResult.MethodResult(Integer status, Object payload)"
name: "MethodResult(Integer status, Object payload)"
nameWithType: "MethodResult.MethodResult(Integer status, Object payload)"
parameters:
- name: "status"
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
- name: "payload"
type: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
syntax: "public MethodResult(Integer status, Object payload)"
methods:
- uid: "com.microsoft.azure.sdk.iot.service.devicetwin.MethodResult.getPayload()"
fullName: "com.microsoft.azure.sdk.iot.service.devicetwin.MethodResult.getPayload()"
name: "getPayload()"
nameWithType: "MethodResult.getPayload()"
syntax: "public Object getPayload()"
returns:
type: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.sdk.iot.service.devicetwin.MethodResult.getStatus()"
fullName: "com.microsoft.azure.sdk.iot.service.devicetwin.MethodResult.getStatus()"
name: "getStatus()"
nameWithType: "MethodResult.getStatus()"
syntax: "public Integer getStatus()"
returns:
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Store the status and payload received as result of a method invoke."
metadata: {}
package: "com.microsoft.azure.sdk.iot.service.devicetwin"
artifact: com.microsoft.azure.sdk.iot:iot-service-client:1.30.0