Esempio n. 1
0
 static CallbackHandler()
 {
     onInitCB = new OnInitDelegate(OnInitStatic);
     onExitCB = new OnExitDelegate(OnExitStatic);
     onIdleCB = new NativeAction(OnIdleStatic);
     onMovedToBackgroundCB = new NativeAction(OnMovedToBackgroundStatic);
     onMovedToForegroundCB = new NativeAction(OnMovedToForegroundStatic);
 }
Esempio n. 2
0
        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
                                                         );