次の方法で共有


JsonReader.NextBoolean Method

Definition

Returns the JsonToken#BOOLEAN boolean value of the next token, consuming it.

[Android.Runtime.Register("nextBoolean", "()Z", "")]
public bool NextBoolean ();
[<Android.Runtime.Register("nextBoolean", "()Z", "")>]
member this.NextBoolean : unit -> bool

Returns

Attributes

Exceptions

if the next token is not a boolean or if this reader is closed.

Remarks

Returns the JsonToken#BOOLEAN boolean value of the next token, consuming it.

Java documentation for android.util.JsonReader.nextBoolean().

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.

Applies to