Documentation

Unity Engine

Unity Engine

GetStringChars(IntPtr)

Returns a pointer to the array of Unicode characters of the string. This pointer is valid until ReleaseStringchars() is called.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static string GetStringChars(IntPtr str)

Parameters

Returns

Type

Description

string

Remarks

This method is a modification of the original \<tt\>GetStringChars\</tt\>, which returns a pointer to an array of bytes.