语言中文(简体)
  • C#

AndroidJNI.GetStringChars

声明

public static string GetStringChars(IntPtr str);

描述

返回指向字符串 Unicode 字符数组的指针。此指针在调用 ReleaseStringchars() 之前有效。

此方法对原始 GetStringChars 进行修改,原始 GetStringChars 返回指向字节数组的指针。

其他资源:Java Native Interface Specification(Oracle)


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