JniEnvironment.Strings.NewString Method

Definition

Overloads

NewString(String)
NewString(Char*, Int32)

NewString(String)

public static Java.Interop.JniObjectReference NewString (string? value);
static member NewString : string -> Java.Interop.JniObjectReference

Parameters

value
String

Returns

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 Java.Interop.JniObjectReference NewString (char* unicodeChars, int length);
static member NewString : nativeptr<char> * int -> Java.Interop.JniObjectReference

Parameters

unicodeChars
Char*
length
Int32

Returns

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