コード例 #1
0
 public static unsafe void SetEventDispatcher(global::com.mopub.common.events.EventDispatcher p0)
 {
     if (id_setEventDispatcher_Lcom_mopub_common_event_EventDispatcher_ == IntPtr.Zero)
     {
         id_setEventDispatcher_Lcom_mopub_common_event_EventDispatcher_ = JNIEnv.GetStaticMethodID(class_ref, "setEventDispatcher", "(Lcom/mopub/common/event/EventDispatcher;)V");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         JNIEnv.CallStaticVoidMethod(class_ref, id_setEventDispatcher_Lcom_mopub_common_event_EventDispatcher_, __args);
     } finally {
     }
 }
コード例 #2
0
 static void n_Dispatch_Lcom_mopub_common_event_BaseEvent_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::com.mopub.common.events.EventDispatcher __this = global::Java.Lang.Object.GetObject <global::com.mopub.common.events.EventDispatcher> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::com.mopub.common.events.BaseEvent       p0     = global::Java.Lang.Object.GetObject <global::com.mopub.common.events.BaseEvent> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Dispatch(p0);
 }