public unsafe MXFPartition(global::Org.Jcodec.Containers.Mxf.Model.MXFPartitionPack p0, long p1, bool p2, bool p3, long p4)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JValue *__args = stackalloc JValue [5];
                __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);
                if (GetType() != typeof(MXFPartition))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lorg/jcodec/containers/mxf/model/MXFPartitionPack;JZZJ)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lorg/jcodec/containers/mxf/model/MXFPartitionPack;JZZJ)V", __args);
                    return;
                }

                if (id_ctor_Lorg_jcodec_containers_mxf_model_MXFPartitionPack_JZZJ == IntPtr.Zero)
                {
                    id_ctor_Lorg_jcodec_containers_mxf_model_MXFPartitionPack_JZZJ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lorg/jcodec/containers/mxf/model/MXFPartitionPack;JZZJ)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lorg_jcodec_containers_mxf_model_MXFPartitionPack_JZZJ, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lorg_jcodec_containers_mxf_model_MXFPartitionPack_JZZJ, __args);
            } finally {
            }
        }
Example #2
0
 static int n_GetBodySid(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Jcodec.Containers.Mxf.Model.MXFPartitionPack __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mxf.Model.MXFPartitionPack> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.BodySid);
 }
Example #3
0
 static IntPtr n_GetOp(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Jcodec.Containers.Mxf.Model.MXFPartitionPack __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mxf.Model.MXFPartitionPack> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.Op));
 }
Example #4
0
 static void n_Read_Ljava_nio_ByteBuffer_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Jcodec.Containers.Mxf.Model.MXFPartitionPack __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mxf.Model.MXFPartitionPack> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Nio.ByteBuffer p0 = global::Java.Lang.Object.GetObject <global::Java.Nio.ByteBuffer> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Read(p0);
 }
Example #5
0
 static long n_GetIndexByteCount(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Jcodec.Containers.Mxf.Model.MXFPartitionPack __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mxf.Model.MXFPartitionPack> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.IndexByteCount);
 }