static void n_Put_Ljava_lang_String_Lcom_mopub_volley_Cache_Entry_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::MoPub.Volley.ICache __this = global::Java.Lang.Object.GetObject <global::MoPub.Volley.ICache> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); global::MoPub.Volley.CacheEntry p1 = global::Java.Lang.Object.GetObject <global::MoPub.Volley.CacheEntry> (native_p1, JniHandleOwnership.DoNotTransfer); __this.Put(p0, p1); }
public unsafe void Put(string p0, global::MoPub.Volley.CacheEntry p1) { if (id_put_Ljava_lang_String_Lcom_mopub_volley_Cache_Entry_ == IntPtr.Zero) { id_put_Ljava_lang_String_Lcom_mopub_volley_Cache_Entry_ = JNIEnv.GetMethodID(class_ref, "put", "(Ljava/lang/String;Lcom/mopub/volley/Cache$Entry;)V"); } IntPtr native_p0 = JNIEnv.NewString(p0); JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_put_Ljava_lang_String_Lcom_mopub_volley_Cache_Entry_, __args); JNIEnv.DeleteLocalRef(native_p0); }
public unsafe global::MoPub.Volley.CacheEntry Get(string p0) { if (id_get_Ljava_lang_String_ == IntPtr.Zero) { id_get_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "get", "(Ljava/lang/String;)Lcom/mopub/volley/Cache$Entry;"); } IntPtr native_p0 = JNIEnv.NewString(p0); JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(native_p0); global::MoPub.Volley.CacheEntry __ret = global::Java.Lang.Object.GetObject <global::MoPub.Volley.CacheEntry> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_get_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.DeleteLocalRef(native_p0); return(__ret); }
public static unsafe global::MoPub.Volley.Response Success(global::Java.Lang.Object p0, global::MoPub.Volley.CacheEntry p1) { if (id_success_Ljava_lang_Object_Lcom_mopub_volley_Cache_Entry_ == IntPtr.Zero) { id_success_Ljava_lang_Object_Lcom_mopub_volley_Cache_Entry_ = JNIEnv.GetStaticMethodID(class_ref, "success", "(Ljava/lang/Object;Lcom/mopub/volley/Cache$Entry;)Lcom/mopub/volley/Response;"); } IntPtr native_p0 = JNIEnv.ToLocalJniHandle(p0); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); global::MoPub.Volley.Response __ret = global::Java.Lang.Object.GetObject <global::MoPub.Volley.Response> (JNIEnv.CallStaticObjectMethod(class_ref, id_success_Ljava_lang_Object_Lcom_mopub_volley_Cache_Entry_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
static bool n_RefreshNeeded(IntPtr jnienv, IntPtr native__this) { global::MoPub.Volley.CacheEntry __this = global::Java.Lang.Object.GetObject <global::MoPub.Volley.CacheEntry> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.RefreshNeeded()); }