![]() |
Hubiquitus Android
0.6.1
Android client for hubiquitus protocol
|
Inherits JSONObject.
Public Member Functions | |
HResult (JSONObject jsonObj) throws JSONException | |
ResultStatus | getStatus () |
void | setStatus (ResultStatus status) throws MissingAttrException |
Object | getResult () |
JSONObject | getResultAsJSONObject () |
JSONArray | getResultAsJSONArray () |
String | getResultAsString () |
Boolean | getResultAsBoolean () |
Integer | getResultAsInt () |
Double | getResultAsDouble () |
void | setResult (Object result) |
void | setResult (JSONObject result) |
void | setResult (JSONArray result) |
void | setResult (String result) |
void | setResult (Boolean result) |
void | setResult (Integer result) |
void | setResult (Double result) |
Package Attributes | |
final Logger | logger = LoggerFactory.getLogger(HResult.class) |
if we don't know the result type.
if result type is Boolean
if result type is Double
if result type is Integer
if result type is a JSONArray
if result type is a JSONObject
if result type is a String
Mandatory. Execution status.
void org.hubiquitus.hapi.hStructures.HResult.setResult | ( | Object | result | ) |
The result type could be JSONObject, JSONArray, String, Boolean, Number.
result |