AndroidJNI.GetStringChars

Declaration

public static string GetStringChars(IntPtr str);

Description

Returns a pointer to the array of Unicode characters of the string. This pointer is valid until ReleaseStringchars() is called.

This method is a modification of the original GetStringChars, which returns a pointer to an array of bytes.

Additional resources: Java Native Interface Specification (Oracle)


Did you find this page useful? Please give it a rating: