Android.Util.JsonReader.NextLong Method
Returns the JsonToken.Number value of the next token, consuming it.

Syntax

[Android.Runtime.Register("nextLong", "()J", "")]
public long NextLong ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionif the next token is not a literal value.
Java.Lang.NumberFormatExceptionif the next literal value cannot be parsed as a number, or exactly represented as a long.
Java.IO.IOException

Remarks

Returns the JsonToken.Number value of the next token, consuming it. If the next token is a string, this method will attempt to parse it as a long. If the next token's numeric value cannot be exactly represented by a Java long, this method throws.

[Android Documentation]

Requirements

Namespace: Android.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11