Language

CharSequence Class

Definition

Provides conversions between managed strings and Java character sequences and obtains local JNI references.

public static class CharSequence
type CharSequence = class
Inheritance
CharSequence

Remarks

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.

Methods

Name Description
ArrayFromStringArray(String[])

Creates a Java string for each element of a managed string array.

ArrayToStringArray(ICharSequence[])

Converts each Java character sequence in an array to a managed string.

ToLocalJniHandle(ICharSequence)

Gets a local JNI reference for a Java character sequence.

ToLocalJniHandle(IEnumerable<Char>)

Gets a local JNI reference for a sequence of characters.

ToLocalJniHandle(String)

Creates a Java string for a non-null managed string and gets a local JNI reference to it.

Applies to