Java.Lang.Character.CodePointBefore Method
Returns the code point that precedes the index in the specified array of character units and is not less than start.

Syntax

[Android.Runtime.Register("codePointBefore", "([CII)I", "")]
public static int CodePointBefore (char[] seq, int index, int start)

Parameters

seq
the source array of char units.
index
the position in seq following the code point that should be returned.
start
the index of the first element in seq.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif seq is null.
Java.Lang.IndexOutOfBoundsExceptionif the index <= start, start , index is greater than the length of seq, or if start is equal or greater than the length of seq.

Remarks

Returns the code point that precedes the index in the specified array of character units and is not less than start. If the unit at index - 1 is a low-surrogate unit, index - 2 is not less than start and the unit at index - 2 is a high-surrogate unit, then the supplementary code point represented by the pair is returned; otherwise the char value at index - 1 is returned.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1