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

AndroidJNI.CallStaticStringMethodUnsafe

Declaration

public static string CallStaticStringMethodUnsafe(IntPtr clazz, IntPtr methodID, jvalue* args);

Description

Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args).

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

Additional resources: AndroidJNI.CallStaticObjectMethodUnsafe.