コード例 #1
0
#pragma warning restore 0649

            public void OnSyncFailed(global::Com.Moodstocks.Android.MoodstocksError p0)
            {
                var __h = OnSyncFailedHandler;

                if (__h != null)
                {
                    __h(sender, new SyncFailedEventArgs(p0));
                }
            }
#pragma warning restore 0649

            public void OnError(global::Com.Moodstocks.Android.MoodstocksError p0)
            {
                var __h = OnErrorHandler;

                if (__h != null)
                {
                    __h(sender, new ErrorEventArgs(p0));
                }
            }
コード例 #3
0
            public unsafe void OnSyncFailed(global::Com.Moodstocks.Android.MoodstocksError p0)
            {
                if (id_onSyncFailed_Lcom_moodstocks_android_MoodstocksError_ == IntPtr.Zero)
                {
                    id_onSyncFailed_Lcom_moodstocks_android_MoodstocksError_ = JNIEnv.GetMethodID(class_ref, "onSyncFailed", "(Lcom/moodstocks/android/MoodstocksError;)V");
                }
                JValue *__args = stackalloc JValue [1];

                __args [0] = new JValue(p0);
                JNIEnv.CallVoidMethod(Handle, id_onSyncFailed_Lcom_moodstocks_android_MoodstocksError_, __args);
            }
コード例 #4
0
 public SyncFailedEventArgs(global::Com.Moodstocks.Android.MoodstocksError p0)
 {
     this.p0 = p0;
 }
コード例 #5
0
 static void n_OnSyncFailed_Lcom_moodstocks_android_MoodstocksError_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Moodstocks.Android.Scanner.ISyncListener __this = global::Java.Lang.Object.GetObject <global::Com.Moodstocks.Android.Scanner.ISyncListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Moodstocks.Android.MoodstocksError       p0     = global::Java.Lang.Object.GetObject <global::Com.Moodstocks.Android.MoodstocksError> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnSyncFailed(p0);
 }
 static int n_GetErrorCode(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Moodstocks.Android.MoodstocksError __this = global::Java.Lang.Object.GetObject <global::Com.Moodstocks.Android.MoodstocksError> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.ErrorCode);
 }