Language

JniType.RegisterNativeMethods(JniNativeMethodRegistration[]) Method

Definition

Registers managed delegates as native methods of this Java class.

public void RegisterNativeMethods(params Java.Interop.JniNativeMethodRegistration[] methods);
member this.RegisterNativeMethods : Java.Interop.JniNativeMethodRegistration[] -> unit

Parameters

methods
JniNativeMethodRegistration[]

The registration array. This wrapper retains the array to keep callbacks alive; do not remove delegates while registrations are active.

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