Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AndroidJNI.GetStringField

Declaration

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

Description

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.

Additional resources: AndroidJNI.GetObjectField.