Exemple #1
0
        private void registNativeLog()
        {
            var logDel          = new Action <string>(DecoderNative.nativeLogHandler);
            var intptr_delegate = Marshal.GetFunctionPointerForDelegate(logDel);

            DecoderNative.nativeRegistLogHandler(intptr_delegate);
        }
Exemple #2
0
 private void OnDestroy()
 {
     //print(LOG_TAG + " OnDestroy");
     stopDecoding();
     DecoderNative.nativeRegistLogHandler(IntPtr.Zero);
 }