Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RegisterNatives(IntPtr, JNINativeMethod[])

Registers native methods with the class specified by the clazz argument.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static int RegisterNatives(IntPtr clazz, JNINativeMethod[] methods)

Parameters

Returns

Type

Description

intZero on success, negative value on error. Falsely succeeds in Editor.

Remarks