static CallbackHandler() { onInitCB = new OnInitDelegate(OnInitStatic); onExitCB = new OnExitDelegate(OnExitStatic); onIdleCB = new NativeAction(OnIdleStatic); onMovedToBackgroundCB = new NativeAction(OnMovedToBackgroundStatic); onMovedToForegroundCB = new NativeAction(OnMovedToForegroundStatic); }
private static extern void App_registerDelegates(IntPtr app, OnInitDelegate onInitCB, OnExitDelegate onExitCB, NativeAction onIdleCB, NativeAction onMovedToBackgroundCB, NativeAction onMovedToForegroundCB #if FULL_AOT_COMPILE , IntPtr instanceHandle #endif );