Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

AndroidJNI.GetStringField

Switch to Manual
public static function GetStringField(obj: IntPtr, fieldID: IntPtr): string;

Parameters

Description

This function returns the value of an instance (nonstatic) field of an object.

This is a convenience function that calls GetObjectField() with the same parameters, but creates a managed string from the result.

See Also: AndroidJNI.GetObjectField.