78 строки
8.1 KiB
YAML
78 строки
8.1 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.sdk.iot.device.DeviceTwin.Device"
|
|
fullName: "com.microsoft.azure.sdk.iot.device.DeviceTwin.Device"
|
|
name: "Device"
|
|
nameWithType: "Device"
|
|
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 abstract class **Device**</br> implements <xref href=\"com.microsoft.azure.sdk.iot.device.DeviceTwin.PropertyCallBack?alt=com.microsoft.azure.sdk.iot.device.DeviceTwin.PropertyCallBack&text=PropertyCallBack\" data-throw-if-not-resolved=\"False\" /><<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />,<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.microsoft.azure.sdk.iot.device.DeviceTwin.Device.Device()"
|
|
fullName: "com.microsoft.azure.sdk.iot.device.DeviceTwin.Device.Device()"
|
|
name: "Device()"
|
|
nameWithType: "Device.Device()"
|
|
syntax: "public Device()"
|
|
methods:
|
|
- uid: "com.microsoft.azure.sdk.iot.device.DeviceTwin.Device.clean()"
|
|
fullName: "com.microsoft.azure.sdk.iot.device.DeviceTwin.Device.clean()"
|
|
name: "clean()"
|
|
nameWithType: "Device.clean()"
|
|
syntax: "public void clean()"
|
|
- uid: "com.microsoft.azure.sdk.iot.device.DeviceTwin.Device.getDesiredProp()"
|
|
fullName: "com.microsoft.azure.sdk.iot.device.DeviceTwin.Device.getDesiredProp()"
|
|
name: "getDesiredProp()"
|
|
nameWithType: "Device.getDesiredProp()"
|
|
syntax: "public HashMap<DeviceTwin.Property,DeviceTwin.Pair<DeviceTwin.PropertyCallBack<String,Object>,Object>> getDesiredProp()"
|
|
returns:
|
|
type: "<xref href=\"java.util.HashMap?alt=java.util.HashMap&text=HashMap\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.microsoft.azure.sdk.iot.device.DeviceTwin.Property?alt=com.microsoft.azure.sdk.iot.device.DeviceTwin.Property&text=Property\" data-throw-if-not-resolved=\"False\" />,<xref href=\"com.microsoft.azure.sdk.iot.device.DeviceTwin.Pair?alt=com.microsoft.azure.sdk.iot.device.DeviceTwin.Pair&text=Pair\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.microsoft.azure.sdk.iot.device.DeviceTwin.PropertyCallBack?alt=com.microsoft.azure.sdk.iot.device.DeviceTwin.PropertyCallBack&text=PropertyCallBack\" data-throw-if-not-resolved=\"False\" /><<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />,<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />>,<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />>>"
|
|
- uid: "com.microsoft.azure.sdk.iot.device.DeviceTwin.Device.getReportedProp()"
|
|
fullName: "com.microsoft.azure.sdk.iot.device.DeviceTwin.Device.getReportedProp()"
|
|
name: "getReportedProp()"
|
|
nameWithType: "Device.getReportedProp()"
|
|
syntax: "public HashSet<DeviceTwin.Property> getReportedProp()"
|
|
returns:
|
|
type: "<xref href=\"java.util.HashSet?alt=java.util.HashSet&text=HashSet\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.microsoft.azure.sdk.iot.device.DeviceTwin.Property?alt=com.microsoft.azure.sdk.iot.device.DeviceTwin.Property&text=Property\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.microsoft.azure.sdk.iot.device.DeviceTwin.Device.setDesiredPropertyCallback(com.microsoft.azure.sdk.iot.device.DeviceTwin.Property,com.microsoft.azure.sdk.iot.device.DeviceTwin.PropertyCallBack<java.lang.String,java.lang.Object>,java.lang.Object)"
|
|
fullName: "com.microsoft.azure.sdk.iot.device.DeviceTwin.Device.setDesiredPropertyCallback(DeviceTwin.Property desiredProp, DeviceTwin.PropertyCallBack<String,Object> desiredPropCallBack, Object desiredPropCallBackContext)"
|
|
name: "setDesiredPropertyCallback(DeviceTwin.Property desiredProp, DeviceTwin.PropertyCallBack<String,Object> desiredPropCallBack, Object desiredPropCallBackContext)"
|
|
nameWithType: "Device.setDesiredPropertyCallback(DeviceTwin.Property desiredProp, DeviceTwin.PropertyCallBack<String,Object> desiredPropCallBack, Object desiredPropCallBackContext)"
|
|
parameters:
|
|
- name: "desiredProp"
|
|
type: "<xref href=\"com.microsoft.azure.sdk.iot.device.DeviceTwin.Property?alt=com.microsoft.azure.sdk.iot.device.DeviceTwin.Property&text=Property\" data-throw-if-not-resolved=\"False\" />"
|
|
- name: "desiredPropCallBack"
|
|
type: "<xref href=\"com.microsoft.azure.sdk.iot.device.DeviceTwin.PropertyCallBack?alt=com.microsoft.azure.sdk.iot.device.DeviceTwin.PropertyCallBack&text=PropertyCallBack\" data-throw-if-not-resolved=\"False\" /><<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />,<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />>"
|
|
- name: "desiredPropCallBackContext"
|
|
type: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public void setDesiredPropertyCallback(DeviceTwin.Property desiredProp, DeviceTwin.PropertyCallBack<String,Object> desiredPropCallBack, Object desiredPropCallBackContext)"
|
|
- uid: "com.microsoft.azure.sdk.iot.device.DeviceTwin.Device.setReportedProp(com.microsoft.azure.sdk.iot.device.DeviceTwin.Property)"
|
|
fullName: "com.microsoft.azure.sdk.iot.device.DeviceTwin.Device.setReportedProp(DeviceTwin.Property reportedProp)"
|
|
name: "setReportedProp(DeviceTwin.Property reportedProp)"
|
|
nameWithType: "Device.setReportedProp(DeviceTwin.Property reportedProp)"
|
|
summary: "Save the provided property."
|
|
parameters:
|
|
- description: "the key and value to save as a reported property"
|
|
name: "reportedProp"
|
|
type: "<xref href=\"com.microsoft.azure.sdk.iot.device.DeviceTwin.Property?alt=com.microsoft.azure.sdk.iot.device.DeviceTwin.Property&text=Property\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public void setReportedProp(DeviceTwin.Property reportedProp)"
|
|
desc: "Save the provided property. If there is a saved property with the same key as the key in the provided reportedProp, the old value will be overwritten by the new value"
|
|
type: "class"
|
|
implements:
|
|
- "<xref href=\"com.microsoft.azure.sdk.iot.device.DeviceTwin.PropertyCallBack?alt=com.microsoft.azure.sdk.iot.device.DeviceTwin.PropertyCallBack&text=PropertyCallBack\" data-throw-if-not-resolved=\"False\" /><<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />,<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.microsoft.azure.sdk.iot.device.DeviceTwin"
|
|
artifact: com.microsoft.azure.sdk.iot:iot-device-client:1.30.1
|