TwinCollection.getTwinMetadata 方法
定义
重载
getTwinMetadata() |
Getter for the TwinCollection metadata
|
getTwinMetadata(String key) |
Getter for the entry metadata in the TwinCollection.
|
getTwinMetadata()
Getter for the TwinCollection metadata
<xreftitle>Deprecated</xreftitle>
<xrefdescription>
<p>as of Deps version 0.7.1, please use <xref uid="com.microsoft.azure.sdk.iot.deps.twin.TwinCollection.getTwinMetadataFinal()" data-throw-if-not-resolved="false" data-raw-source="getTwinMetadataFinal()"></xref></p>
</xrefdescription>
public TwinMetadata getTwinMetadata()
返回
the TwinMetadata of the Whole TwinCollection. It can benull
</code> . </p>
getTwinMetadata(String key)
Getter for the entry metadata in the TwinCollection.
<xreftitle>Deprecated</xreftitle>
<xrefdescription>
<p>as of Deps version 0.7.1, please use <xref uid="com.microsoft.azure.sdk.iot.deps.twin.TwinCollection.getTwinMetadataFinal(String)" data-throw-if-not-resolved="false" data-raw-source="getTwinMetadataFinal(String)"></xref></p>
</xrefdescription>
public TwinMetadata getTwinMetadata(String key)
参数
- key
- String
theString
</code> with the name of the entry to retrieve the metadata. </p>
返回
the TwinMetadata ot the specific entry in the TwinCollection. It can benull
</code> . </p>