public DownstreamFormatChangedEventArgs(int p0, global::Com.Google.Android.Exoplayer.Chunk.Format p1, int p2, long p3) { this.p0 = p0; this.p1 = p1; this.p2 = p2; this.p3 = p3; }
public unsafe Variant(string p0, global::Com.Google.Android.Exoplayer.Chunk.Format p1) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); if (GetType() != typeof(Variant)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Ljava/lang/String;Lcom/google/android/exoplayer/chunk/Format;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/lang/String;Lcom/google/android/exoplayer/chunk/Format;)V", __args); return; } if (id_ctor_Ljava_lang_String_Lcom_google_android_exoplayer_chunk_Format_ == IntPtr.Zero) { id_ctor_Ljava_lang_String_Lcom_google_android_exoplayer_chunk_Format_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/String;Lcom/google/android/exoplayer/chunk/Format;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_String_Lcom_google_android_exoplayer_chunk_Format_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_lang_String_Lcom_google_android_exoplayer_chunk_Format_, __args); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
#pragma warning restore 0649 public void OnLoadStarted(int p0, long p1, int p2, int p3, global::Com.Google.Android.Exoplayer.Chunk.Format p4, long p5, long p6) { var __h = OnLoadStartedHandler; if (__h != null) { __h(sender, new LoadStartedEventArgs(p0, p1, p2, p3, p4, p5, p6)); } }
#pragma warning restore 0649 public void OnDownstreamFormatChanged(int p0, global::Com.Google.Android.Exoplayer.Chunk.Format p1, int p2, long p3) { var __h = OnDownstreamFormatChangedHandler; if (__h != null) { __h(sender, new DownstreamFormatChangedEventArgs(p0, p1, p2, p3)); } }
public LoadStartedEventArgs(int p0, long p1, int p2, int p3, global::Com.Google.Android.Exoplayer.Chunk.Format p4, long p5, long p6) { this.p0 = p0; this.p1 = p1; this.p2 = p2; this.p3 = p3; this.p4 = p4; this.p5 = p5; this.p6 = p6; }
public LoadCompletedEventArgs(int p0, long p1, int p2, int p3, global::Com.Google.Android.Exoplayer.Chunk.Format p4, long p5, long p6, long p7, long p8) { this.p0 = p0; this.p1 = p1; this.p2 = p2; this.p3 = p3; this.p4 = p4; this.p5 = p5; this.p6 = p6; this.p7 = p7; this.p8 = p8; }
public unsafe void OnDownstreamFormatChanged(int p0, global::Com.Google.Android.Exoplayer.Chunk.Format p1, int p2, long p3) { if (id_onDownstreamFormatChanged_ILcom_google_android_exoplayer_chunk_Format_IJ == IntPtr.Zero) { id_onDownstreamFormatChanged_ILcom_google_android_exoplayer_chunk_Format_IJ = JNIEnv.GetMethodID(class_ref, "onDownstreamFormatChanged", "(ILcom/google/android/exoplayer/chunk/Format;IJ)V"); } JValue *__args = stackalloc JValue [4]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onDownstreamFormatChanged_ILcom_google_android_exoplayer_chunk_Format_IJ, __args); }
public unsafe int Compare(global::Com.Google.Android.Exoplayer.Chunk.Format p0, global::Com.Google.Android.Exoplayer.Chunk.Format p1) { if (id_compare_Lcom_google_android_exoplayer_chunk_Format_Lcom_google_android_exoplayer_chunk_Format_ == IntPtr.Zero) { id_compare_Lcom_google_android_exoplayer_chunk_Format_Lcom_google_android_exoplayer_chunk_Format_ = JNIEnv.GetMethodID(class_ref, "compare", "(Lcom/google/android/exoplayer/chunk/Format;Lcom/google/android/exoplayer/chunk/Format;)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_compare_Lcom_google_android_exoplayer_chunk_Format_Lcom_google_android_exoplayer_chunk_Format_, __args); return(__ret); } finally { } }
public unsafe void OnLoadStarted(int p0, long p1, int p2, int p3, global::Com.Google.Android.Exoplayer.Chunk.Format p4, long p5, long p6) { if (id_onLoadStarted_IJIILcom_google_android_exoplayer_chunk_Format_JJ == IntPtr.Zero) { id_onLoadStarted_IJIILcom_google_android_exoplayer_chunk_Format_JJ = JNIEnv.GetMethodID(class_ref, "onLoadStarted", "(IJIILcom/google/android/exoplayer/chunk/Format;JJ)V"); } JValue *__args = stackalloc JValue [7]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); __args [4] = new JValue(p4); __args [5] = new JValue(p5); __args [6] = new JValue(p6); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onLoadStarted_IJIILcom_google_android_exoplayer_chunk_Format_JJ, __args); }
public unsafe MultiSegmentRepresentation(string p0, long p1, global::Com.Google.Android.Exoplayer.Chunk.Format p2, global::Com.Google.Android.Exoplayer.Dash.Mpd.SegmentBase.MultiSegmentBase p3, string p4) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } IntPtr native_p0 = JNIEnv.NewString(p0); IntPtr native_p4 = JNIEnv.NewString(p4); try { JValue *__args = stackalloc JValue [5]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); __args [4] = new JValue(native_p4); if (GetType() != typeof(MultiSegmentRepresentation)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Ljava/lang/String;JLcom/google/android/exoplayer/chunk/Format;Lcom/google/android/exoplayer/dash/mpd/SegmentBase$MultiSegmentBase;Ljava/lang/String;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/lang/String;JLcom/google/android/exoplayer/chunk/Format;Lcom/google/android/exoplayer/dash/mpd/SegmentBase$MultiSegmentBase;Ljava/lang/String;)V", __args); return; } if (id_ctor_Ljava_lang_String_JLcom_google_android_exoplayer_chunk_Format_Lcom_google_android_exoplayer_dash_mpd_SegmentBase_MultiSegmentBase_Ljava_lang_String_ == IntPtr.Zero) { id_ctor_Ljava_lang_String_JLcom_google_android_exoplayer_chunk_Format_Lcom_google_android_exoplayer_dash_mpd_SegmentBase_MultiSegmentBase_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/String;JLcom/google/android/exoplayer/chunk/Format;Lcom/google/android/exoplayer/dash/mpd/SegmentBase$MultiSegmentBase;Ljava/lang/String;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_String_JLcom_google_android_exoplayer_chunk_Format_Lcom_google_android_exoplayer_dash_mpd_SegmentBase_MultiSegmentBase_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_lang_String_JLcom_google_android_exoplayer_chunk_Format_Lcom_google_android_exoplayer_dash_mpd_SegmentBase_MultiSegmentBase_Ljava_lang_String_, __args); } finally { JNIEnv.DeleteLocalRef(native_p0); JNIEnv.DeleteLocalRef(native_p4); } }
static void n_OnDownstreamFormatChanged_ILcom_google_android_exoplayer_chunk_Format_IJ(IntPtr jnienv, IntPtr native__this, int p0, IntPtr native_p1, int p2, long p3) { global::Com.Google.Android.Exoplayer.Chunk.IBaseChunkSampleSourceEventListener __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Chunk.IBaseChunkSampleSourceEventListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Google.Android.Exoplayer.Chunk.Format p1 = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Chunk.Format> (native_p1, JniHandleOwnership.DoNotTransfer); __this.OnDownstreamFormatChanged(p0, p1, p2, p3); }
static void n_OnLoadStarted_IJIILcom_google_android_exoplayer_chunk_Format_JJ(IntPtr jnienv, IntPtr native__this, int p0, long p1, int p2, int p3, IntPtr native_p4, long p5, long p6) { global::Com.Google.Android.Exoplayer.Chunk.IBaseChunkSampleSourceEventListener __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Chunk.IBaseChunkSampleSourceEventListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Google.Android.Exoplayer.Chunk.Format p4 = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Chunk.Format> (native_p4, JniHandleOwnership.DoNotTransfer); __this.OnLoadStarted(p0, p1, p2, p3, p4, p5, p6); }
public static unsafe global::Com.Google.Android.Exoplayer.Dash.Mpd.Representation NewInstance(string p0, long p1, global::Com.Google.Android.Exoplayer.Chunk.Format p2, global::Com.Google.Android.Exoplayer.Dash.Mpd.SegmentBase p3, string p4) { if (id_newInstance_Ljava_lang_String_JLcom_google_android_exoplayer_chunk_Format_Lcom_google_android_exoplayer_dash_mpd_SegmentBase_Ljava_lang_String_ == IntPtr.Zero) { id_newInstance_Ljava_lang_String_JLcom_google_android_exoplayer_chunk_Format_Lcom_google_android_exoplayer_dash_mpd_SegmentBase_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "newInstance", "(Ljava/lang/String;JLcom/google/android/exoplayer/chunk/Format;Lcom/google/android/exoplayer/dash/mpd/SegmentBase;Ljava/lang/String;)Lcom/google/android/exoplayer/dash/mpd/Representation;"); } IntPtr native_p0 = JNIEnv.NewString(p0); IntPtr native_p4 = JNIEnv.NewString(p4); try { JValue *__args = stackalloc JValue [5]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); __args [4] = new JValue(native_p4); global::Com.Google.Android.Exoplayer.Dash.Mpd.Representation __ret = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Dash.Mpd.Representation> (JNIEnv.CallStaticObjectMethod(class_ref, id_newInstance_Ljava_lang_String_JLcom_google_android_exoplayer_chunk_Format_Lcom_google_android_exoplayer_dash_mpd_SegmentBase_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); JNIEnv.DeleteLocalRef(native_p4); } }