Package org.osgi.service.zigbee
Interface ZCLReadStatusRecord
public interface ZCLReadStatusRecord
This interface the reading result of
ZCLCluster.readAttributes(ZCLAttributeInfo[])
.-
Method Summary
Modifier and TypeMethodDescriptionReturns theZCLAttributeInfo
related to the reading operation.Returns the potential failure of the reading operation.getValue()
Returns the value of the related read attribute.
-
Method Details
-
getValue
Object getValue()Returns the value of the related read attribute.- Returns:
- null in case of failure or invalid data, otherwise the Java
Object
representing the ZigBee value.
-
getFailure
ZigBeeException getFailure()Returns the potential failure of the reading operation.- Returns:
- null in case of success, otherwise the
ZigBeeException
specifying the failing of the reading.
-
getAttributeInfo
ZCLAttributeInfo getAttributeInfo()Returns theZCLAttributeInfo
related to the reading operation.- Returns:
- the
ZCLAttributeInfo
related to the reading operation.
-