Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

AndroidJNI.SetStringField

public static void SetStringField(IntPtr obj, IntPtr fieldID, string val);

Description

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

This is a convenience function that calls SetObjectField() with the same parameters, but performs the necessary marshalling of the string value.

See Also: AndroidJNI.SetObjectField.

Did you find this page useful? Please give it a rating: