public unsafe DefaultTrackOutput(global::Com.Google.Android.Exoplayer.Upstream.IAllocator p0) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() != typeof(DefaultTrackOutput)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/google/android/exoplayer/upstream/Allocator;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/google/android/exoplayer/upstream/Allocator;)V", __args); return; } if (id_ctor_Lcom_google_android_exoplayer_upstream_Allocator_ == IntPtr.Zero) { id_ctor_Lcom_google_android_exoplayer_upstream_Allocator_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/google/android/exoplayer/upstream/Allocator;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_google_android_exoplayer_upstream_Allocator_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_google_android_exoplayer_upstream_Allocator_, __args); } finally { } }
static int n_GetIndividualAllocationLength(IntPtr jnienv, IntPtr native__this) { global::Com.Google.Android.Exoplayer.Upstream.IAllocator __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Upstream.IAllocator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.IndividualAllocationLength); }
static void n_Trim_I(IntPtr jnienv, IntPtr native__this, int p0) { global::Com.Google.Android.Exoplayer.Upstream.IAllocator __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Upstream.IAllocator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.Trim(p0); }
static void n_Release_Lcom_google_android_exoplayer_upstream_Allocation_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Google.Android.Exoplayer.Upstream.IAllocator __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Upstream.IAllocator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Google.Android.Exoplayer.Upstream.Allocation p0 = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Upstream.Allocation> (native_p0, JniHandleOwnership.DoNotTransfer); __this.Release(p0); }
static void n_BlockWhileTotalBytesAllocatedExceeds_I(IntPtr jnienv, IntPtr native__this, int p0) { global::Com.Google.Android.Exoplayer.Upstream.IAllocator __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Upstream.IAllocator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.BlockWhileTotalBytesAllocatedExceeds(p0); }
static IntPtr n_Allocate(IntPtr jnienv, IntPtr native__this) { global::Com.Google.Android.Exoplayer.Upstream.IAllocator __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Upstream.IAllocator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.Allocate())); }
static int n_GetTotalBytesAllocated(IntPtr jnienv, IntPtr native__this) { global::Com.Google.Android.Exoplayer.Upstream.IAllocator __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Upstream.IAllocator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.TotalBytesAllocated); }