Language

JniEnvironment.Strings.ReleaseStringChars(JniObjectReference, Char*) Method

Definition

Ends native access to an acquired Java string character buffer.

public static void ReleaseStringChars(Java.Interop.JniObjectReference stringInstance, char* chars);
static member ReleaseStringChars : Java.Interop.JniObjectReference * nativeptr<char> -> unit

Parameters

stringInstance
JniObjectReference

The same Java string reference used to acquire chars.

chars
Char*

The character pointer returned by GetStringChars for that string.

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