static void n_OnSpanRemoved_Lcom_google_android_exoplayer_upstream_cache_Cache_Lcom_google_android_exoplayer_upstream_cache_CacheSpan_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Google.Android.Exoplayer.Upstream.Cache.ICacheEvictor __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Upstream.Cache.ICacheEvictor> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Google.Android.Exoplayer.Upstream.Cache.ICache p0 = (global::Com.Google.Android.Exoplayer.Upstream.Cache.ICache)global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Upstream.Cache.ICache> (native_p0, JniHandleOwnership.DoNotTransfer); global::Com.Google.Android.Exoplayer.Upstream.Cache.CacheSpan p1 = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Upstream.Cache.CacheSpan> (native_p1, JniHandleOwnership.DoNotTransfer); __this.OnSpanRemoved(p0, p1); }
public unsafe void RemoveSpan(global::Com.Google.Android.Exoplayer.Upstream.Cache.CacheSpan p0) { if (id_removeSpan_Lcom_google_android_exoplayer_upstream_cache_CacheSpan_ == IntPtr.Zero) { id_removeSpan_Lcom_google_android_exoplayer_upstream_cache_CacheSpan_ = JNIEnv.GetMethodID(class_ref, "removeSpan", "(Lcom/google/android/exoplayer/upstream/cache/CacheSpan;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_removeSpan_Lcom_google_android_exoplayer_upstream_cache_CacheSpan_, __args); } finally { } }
public static unsafe global::Com.Google.Android.Exoplayer.Upstream.Cache.CacheSpan CreateCacheEntry(global::Java.IO.File p0) { if (id_createCacheEntry_Ljava_io_File_ == IntPtr.Zero) { id_createCacheEntry_Ljava_io_File_ = JNIEnv.GetStaticMethodID(class_ref, "createCacheEntry", "(Ljava/io/File;)Lcom/google/android/exoplayer/upstream/cache/CacheSpan;"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); global::Com.Google.Android.Exoplayer.Upstream.Cache.CacheSpan __ret = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Upstream.Cache.CacheSpan> (JNIEnv.CallStaticObjectMethod(class_ref, id_createCacheEntry_Ljava_io_File_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }
public unsafe int CompareTo(global::Com.Google.Android.Exoplayer.Upstream.Cache.CacheSpan p0) { if (id_compareTo_Lcom_google_android_exoplayer_upstream_cache_CacheSpan_ == IntPtr.Zero) { id_compareTo_Lcom_google_android_exoplayer_upstream_cache_CacheSpan_ = JNIEnv.GetMethodID(class_ref, "compareTo", "(Lcom/google/android/exoplayer/upstream/cache/CacheSpan;)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); int __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_compareTo_Lcom_google_android_exoplayer_upstream_cache_CacheSpan_, __args); return(__ret); } finally { } }
public static unsafe global::Com.Google.Android.Exoplayer.Upstream.Cache.CacheSpan CreateOpenHole(string p0, long p1) { if (id_createOpenHole_Ljava_lang_String_J == IntPtr.Zero) { id_createOpenHole_Ljava_lang_String_J = JNIEnv.GetStaticMethodID(class_ref, "createOpenHole", "(Ljava/lang/String;J)Lcom/google/android/exoplayer/upstream/cache/CacheSpan;"); } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); global::Com.Google.Android.Exoplayer.Upstream.Cache.CacheSpan __ret = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Upstream.Cache.CacheSpan> (JNIEnv.CallStaticObjectMethod(class_ref, id_createOpenHole_Ljava_lang_String_J, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
public unsafe void OnSpanTouched(global::Com.Google.Android.Exoplayer.Upstream.Cache.ICache p0, global::Com.Google.Android.Exoplayer.Upstream.Cache.CacheSpan p1, global::Com.Google.Android.Exoplayer.Upstream.Cache.CacheSpan p2) { if (id_onSpanTouched_Lcom_google_android_exoplayer_upstream_cache_Cache_Lcom_google_android_exoplayer_upstream_cache_CacheSpan_Lcom_google_android_exoplayer_upstream_cache_CacheSpan_ == IntPtr.Zero) { id_onSpanTouched_Lcom_google_android_exoplayer_upstream_cache_Cache_Lcom_google_android_exoplayer_upstream_cache_CacheSpan_Lcom_google_android_exoplayer_upstream_cache_CacheSpan_ = JNIEnv.GetMethodID(class_ref, "onSpanTouched", "(Lcom/google/android/exoplayer/upstream/cache/Cache;Lcom/google/android/exoplayer/upstream/cache/CacheSpan;Lcom/google/android/exoplayer/upstream/cache/CacheSpan;)V"); } try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onSpanTouched_Lcom_google_android_exoplayer_upstream_cache_Cache_Lcom_google_android_exoplayer_upstream_cache_CacheSpan_Lcom_google_android_exoplayer_upstream_cache_CacheSpan_, __args); } finally { } }