public class VehicleDataResponse extends com.digi.wva.internal.AbstractVehicleResponse<Double>
Constructor and Description |
---|
VehicleDataResponse(JSONObject from)
Creates a new VehicleDataResponse object from a JSONObject.
|
public VehicleDataResponse(JSONObject from) throws JSONException
JSONException
- When the JSONObject received is not of the form
{"value":<double>, "timestamp":<ISO8601 timestamp>}