Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AndroidJNI.NewStringUTF

static function NewStringUTF(bytes: string): IntPtr;
static IntPtr NewStringUTF(string bytes);
static def NewStringUTF(bytes as string) as IntPtr

Description

Constructs a new java.lang.String object from an array of characters in modified UTF-8 encoding.