public virtual unsafe int SampleData(global::Com.Google.Android.Exoplayer.Extractor.IExtractorInput p0, int p1, bool p2) { if (id_sampleData_Lcom_google_android_exoplayer_extractor_ExtractorInput_IZ == IntPtr.Zero) { id_sampleData_Lcom_google_android_exoplayer_extractor_ExtractorInput_IZ = JNIEnv.GetMethodID(class_ref, "sampleData", "(Lcom/google/android/exoplayer/extractor/ExtractorInput;IZ)I"); } try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_sampleData_Lcom_google_android_exoplayer_extractor_ExtractorInput_IZ, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "sampleData", "(Lcom/google/android/exoplayer/extractor/ExtractorInput;IZ)I"), __args); } return(__ret); } finally { } }
static int n_SampleData_Lcom_google_android_exoplayer_extractor_ExtractorInput_IZ(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, bool p2) { global::Com.Google.Android.Exoplayer.Extractor.DummyTrackOutput __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Extractor.DummyTrackOutput> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Google.Android.Exoplayer.Extractor.IExtractorInput p0 = (global::Com.Google.Android.Exoplayer.Extractor.IExtractorInput)global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Extractor.IExtractorInput> (native_p0, JniHandleOwnership.DoNotTransfer); int __ret = __this.SampleData(p0, p1, p2); return(__ret); }
static void n_ReadFully_arrayBII(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, int p2) { global::Com.Google.Android.Exoplayer.Extractor.IExtractorInput __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Extractor.IExtractorInput> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); byte[] p0 = (byte[])JNIEnv.GetArray(native_p0, JniHandleOwnership.DoNotTransfer, typeof(byte)); __this.ReadFully(p0, p1, p2); if (p0 != null) { JNIEnv.CopyArray(p0, native_p0); } }
static bool n_PeekFully_arrayBIIZ(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, int p2, bool p3) { global::Com.Google.Android.Exoplayer.Extractor.IExtractorInput __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Extractor.IExtractorInput> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); byte[] p0 = (byte[])JNIEnv.GetArray(native_p0, JniHandleOwnership.DoNotTransfer, typeof(byte)); bool __ret = __this.PeekFully(p0, p1, p2, p3); if (p0 != null) { JNIEnv.CopyArray(p0, native_p0); } return(__ret); }
public unsafe bool Sniff(global::Com.Google.Android.Exoplayer.Extractor.IExtractorInput p0) { if (id_sniff_Lcom_google_android_exoplayer_extractor_ExtractorInput_ == IntPtr.Zero) { id_sniff_Lcom_google_android_exoplayer_extractor_ExtractorInput_ = JNIEnv.GetMethodID(class_ref, "sniff", "(Lcom/google/android/exoplayer/extractor/ExtractorInput;)Z"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); bool __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_sniff_Lcom_google_android_exoplayer_extractor_ExtractorInput_, __args); return(__ret); } finally { } }
public unsafe int Read(global::Com.Google.Android.Exoplayer.Extractor.IExtractorInput p0, global::Com.Google.Android.Exoplayer.Extractor.PositionHolder p1) { if (id_read_Lcom_google_android_exoplayer_extractor_ExtractorInput_Lcom_google_android_exoplayer_extractor_PositionHolder_ == IntPtr.Zero) { id_read_Lcom_google_android_exoplayer_extractor_ExtractorInput_Lcom_google_android_exoplayer_extractor_PositionHolder_ = JNIEnv.GetMethodID(class_ref, "read", "(Lcom/google/android/exoplayer/extractor/ExtractorInput;Lcom/google/android/exoplayer/extractor/PositionHolder;)I"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); int __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_read_Lcom_google_android_exoplayer_extractor_ExtractorInput_Lcom_google_android_exoplayer_extractor_PositionHolder_, __args); return(__ret); } finally { } }
static bool n_SkipFully_IZ(IntPtr jnienv, IntPtr native__this, int p0, bool p1) { global::Com.Google.Android.Exoplayer.Extractor.IExtractorInput __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Extractor.IExtractorInput> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.SkipFully(p0, p1)); }
static void n_ResetPeekPosition(IntPtr jnienv, IntPtr native__this) { global::Com.Google.Android.Exoplayer.Extractor.IExtractorInput __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Extractor.IExtractorInput> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.ResetPeekPosition(); }
static long n_GetPosition(IntPtr jnienv, IntPtr native__this) { global::Com.Google.Android.Exoplayer.Extractor.IExtractorInput __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Extractor.IExtractorInput> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.Position); }