public virtual unsafe void SetTimecode(global::Org.Jcodec.Containers.Mp4.Muxer.TimecodeMP4MuxerTrack p0)
        {
            if (id_setTimecode_Lorg_jcodec_containers_mp4_muxer_TimecodeMP4MuxerTrack_ == IntPtr.Zero)
            {
                id_setTimecode_Lorg_jcodec_containers_mp4_muxer_TimecodeMP4MuxerTrack_ = JNIEnv.GetMethodID(class_ref, "setTimecode", "(Lorg/jcodec/containers/mp4/muxer/TimecodeMP4MuxerTrack;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setTimecode_Lorg_jcodec_containers_mp4_muxer_TimecodeMP4MuxerTrack_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setTimecode", "(Lorg/jcodec/containers/mp4/muxer/TimecodeMP4MuxerTrack;)V"), __args);
                }
            } finally {
            }
        }
 static void n_SetTimecode_Lorg_jcodec_containers_mp4_muxer_TimecodeMP4MuxerTrack_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Jcodec.Containers.Mp4.Muxer.FramesMP4MuxerTrack   __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mp4.Muxer.FramesMP4MuxerTrack> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Org.Jcodec.Containers.Mp4.Muxer.TimecodeMP4MuxerTrack p0     = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mp4.Muxer.TimecodeMP4MuxerTrack> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetTimecode(p0);
 }
Beispiel #3
0
 static void n_AddTimecode_Lorg_jcodec_common_model_Packet_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Jcodec.Containers.Mp4.Muxer.TimecodeMP4MuxerTrack __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mp4.Muxer.TimecodeMP4MuxerTrack> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Org.Jcodec.Common.Model.Packet p0 = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Common.Model.Packet> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.AddTimecode(p0);
 }