Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

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

AndroidJNI.GetStringField

public static string GetStringField(IntPtr obj, IntPtr fieldID);

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.