Legacy Documentation: Version 2018.2 (Go to current version)
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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答