Language

JniPeerMembers.JniInstanceMethods.FinishCreateInstance Method

Definition

Runs a Java constructor on an already allocated peer.

public void FinishCreateInstance(string constructorSignature, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters);
member this.FinishCreateInstance : string * Java.Interop.IJavaPeerable * nativeptr<Java.Interop.JniArgumentValue> -> unit

Parameters

constructorSignature
String

The JNI constructor descriptor.

self
IJavaPeerable

The managed peer with the already allocated Java object reference.

parameters
JniArgumentValue*

The caller-owned JNI argument buffer matching the constructor descriptor, valid for this call; it can be null when there are no arguments.

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.

Applies to