JniPeerMembers.JniStaticMethods.InvokeObjectMethod Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invokes a Java static method through configured method lookup.
public Java.Interop.JniObjectReference InvokeObjectMethod(string encodedMember, Java.Interop.JniArgumentValue* parameters);
member this.InvokeObjectMethod : string * nativeptr<Java.Interop.JniArgumentValue> -> Java.Interop.JniObjectReference
Parameters
- encodedMember
- String
The Java method name and JNI descriptor separated by a period, such as run.()V.
- parameters
- JniArgumentValue*
The caller-owned JNI argument buffer matching the method descriptor, valid for this call; it can be null when there are no arguments.
Returns
A local JNI reference that the caller must release, or an invalid reference for Java null.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.