Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetStringLength(IntPtr)

Returns the length (the count of Unicode characters) of a Java string.
Read time 1 minuteLast updated 8 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static int GetStringLength(IntPtr str)

Parameters

Returns

Type

Description

int

Remarks