public static unsafe void PreCacheImages(global::Android.Content.Context p0, global::System.Collections.Generic.IList <string> p1, global::Com.Mopub.Nativeads.NativeImageHelper.IImageListener p2) { if (id_preCacheImages_Landroid_content_Context_Ljava_util_List_Lcom_mopub_nativeads_NativeImageHelper_ImageListener_ == IntPtr.Zero) { id_preCacheImages_Landroid_content_Context_Ljava_util_List_Lcom_mopub_nativeads_NativeImageHelper_ImageListener_ = JNIEnv.GetStaticMethodID(class_ref, "preCacheImages", "(Landroid/content/Context;Ljava/util/List;Lcom/mopub/nativeads/NativeImageHelper$ImageListener;)V"); } IntPtr native_p1 = global::Android.Runtime.JavaList <string> .ToLocalJniHandle(p1); try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(p2); JNIEnv.CallStaticVoidMethod(class_ref, id_preCacheImages_Landroid_content_Context_Ljava_util_List_Lcom_mopub_nativeads_NativeImageHelper_ImageListener_, __args); } finally { JNIEnv.DeleteLocalRef(native_p1); } }
static void n_OnImagesCached(IntPtr jnienv, IntPtr native__this) { global::Com.Mopub.Nativeads.NativeImageHelper.IImageListener __this = global::Java.Lang.Object.GetObject <global::Com.Mopub.Nativeads.NativeImageHelper.IImageListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.OnImagesCached(); }
static void n_OnImagesFailedToCache_Lcom_mopub_nativeads_NativeErrorCode_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Mopub.Nativeads.NativeImageHelper.IImageListener __this = global::Java.Lang.Object.GetObject <global::Com.Mopub.Nativeads.NativeImageHelper.IImageListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Mopub.Nativeads.NativeErrorCode p0 = global::Java.Lang.Object.GetObject <global::Com.Mopub.Nativeads.NativeErrorCode> (native_p0, JniHandleOwnership.DoNotTransfer); __this.OnImagesFailedToCache(p0); }