Hubiquitus Android  0.6.1
Android client for hubiquitus protocol
org.hubiquitus.hapi.hStructures.HMeasure Class Reference

Inherits JSONObject.

List of all members.

Public Member Functions

 HMeasure (JSONObject jsonObj) throws JSONException
String getUnit ()
void setUnit (String unit) throws MissingAttrException
String getValue ()
void setValue (String value) throws MissingAttrException

Package Attributes

final Logger logger = LoggerFactory.getLogger(HMeasure.class)

Detailed Description

Version:
0.6 Describes a measure payload

Member Function Documentation

Specifies the unit in which the measure is expressed, should be in lowercase.

Returns:
unit. NULL if undefined

Specify the value of the measure (ie : 31.2)

Returns:
value. NULL if undefined

The documentation for this class was generated from the following file:
 All Classes Functions Variables