JSONArray.GetBoolean(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the value at index
if it exists and is a boolean or can
be coerced to a boolean.
[Android.Runtime.Register("getBoolean", "(I)Z", "GetGetBoolean_IHandler")]
public virtual bool GetBoolean (int index);
[<Android.Runtime.Register("getBoolean", "(I)Z", "GetGetBoolean_IHandler")>]
abstract member GetBoolean : int -> bool
override this.GetBoolean : int -> bool
Parameters
- index
- Int32
Returns
- Attributes
Exceptions
if the value at index
doesn't exist or
cannot be coerced to a boolean.
Remarks
Returns the value at index
if it exists and is a boolean or can be coerced to a boolean.
Java documentation for org.json.JSONArray.getBoolean(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.