Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

AndroidJNI.GetStringField

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

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.