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

AndroidJNI.GetStaticStringField

Declaration

public static string GetStaticStringField(IntPtr clazz, IntPtr fieldID);

Description

Returns the value of a static field of an object.

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

Additional resources: AndroidJNI.GetStaticObjectField Additional resources: Java Native Interface Specification (Oracle)