JNIEnv.NewString Method

Definition

Overloads

NewString(String)
NewString(Char[], Int32)

NewString(String)

public static IntPtr NewString (string? text);
static member NewString : string -> nativeint

Parameters

text
String

Returns

IntPtr

nativeint

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.

Applies to

NewString(Char[], Int32)

public static IntPtr NewString (char[]? text, int length);
static member NewString : char[] * int -> nativeint

Parameters

text
Char[]
length
Int32

Returns

IntPtr

nativeint

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.

Applies to