public class CordovaArgs
extends java.lang.Object
Constructor and Description |
---|
CordovaArgs(org.json.JSONArray args) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(int index) |
byte[] |
getArrayBuffer(int index) |
boolean |
getBoolean(int index) |
double |
getDouble(int index) |
int |
getInt(int index) |
org.json.JSONArray |
getJSONArray(int index) |
org.json.JSONObject |
getJSONObject(int index) |
long |
getLong(int index) |
java.lang.String |
getString(int index) |
boolean |
isNull(int index) |
java.lang.Object |
opt(int index) |
boolean |
optBoolean(int index) |
double |
optDouble(int index) |
int |
optInt(int index) |
org.json.JSONArray |
optJSONArray(int index) |
org.json.JSONObject |
optJSONObject(int index) |
long |
optLong(int index) |
java.lang.String |
optString(int index) |
public java.lang.Object get(int index) throws org.json.JSONException
org.json.JSONException
public boolean getBoolean(int index) throws org.json.JSONException
org.json.JSONException
public double getDouble(int index) throws org.json.JSONException
org.json.JSONException
public int getInt(int index) throws org.json.JSONException
org.json.JSONException
public org.json.JSONArray getJSONArray(int index) throws org.json.JSONException
org.json.JSONException
public org.json.JSONObject getJSONObject(int index) throws org.json.JSONException
org.json.JSONException
public long getLong(int index) throws org.json.JSONException
org.json.JSONException
public java.lang.String getString(int index) throws org.json.JSONException
org.json.JSONException
public java.lang.Object opt(int index)
public boolean optBoolean(int index)
public double optDouble(int index)
public int optInt(int index)
public org.json.JSONArray optJSONArray(int index)
public org.json.JSONObject optJSONObject(int index)
public long optLong(int index)
public java.lang.String optString(int index)
public boolean isNull(int index)
public byte[] getArrayBuffer(int index) throws org.json.JSONException
org.json.JSONException