static void n_SurfaceChanged_Landroid_view_SurfaceHolder_III(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int native_p1, int p2, int p3) { global::Com.Camera.Simplemjpeg.MjpegView __this = global::Java.Lang.Object.GetObject <global::Com.Camera.Simplemjpeg.MjpegView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Views.ISurfaceHolder p0 = (global::Android.Views.ISurfaceHolder)global::Java.Lang.Object.GetObject <global::Android.Views.ISurfaceHolder> (native_p0, JniHandleOwnership.DoNotTransfer); global::Android.Graphics.Format p1 = (global::Android.Graphics.Format)native_p1; __this.SurfaceChanged(p0, p1, p2, p3); }
public MjpegViewThread(global::Com.Camera.Simplemjpeg.MjpegView __self, global::Android.Views.ISurfaceHolder p1, global::Android.Content.Context p2) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } if (GetType() != typeof(MjpegViewThread)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Landroid/view/SurfaceHolder;Landroid/content/Context;)V", new JValue(__self), new JValue(p1), new JValue(p2)), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Landroid/view/SurfaceHolder;Landroid/content/Context;)V", new JValue(__self), new JValue(p1), new JValue(p2)); return; } if (id_ctor_Lcom_camera_simplemjpeg_MjpegView_Landroid_view_SurfaceHolder_Landroid_content_Context_ == IntPtr.Zero) { id_ctor_Lcom_camera_simplemjpeg_MjpegView_Landroid_view_SurfaceHolder_Landroid_content_Context_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/camera/simplemjpeg/MjpegView;Landroid/view/SurfaceHolder;Landroid/content/Context;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_camera_simplemjpeg_MjpegView_Landroid_view_SurfaceHolder_Landroid_content_Context_, new JValue(__self), new JValue(p1), new JValue(p2)), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_camera_simplemjpeg_MjpegView_Landroid_view_SurfaceHolder_Landroid_content_Context_, new JValue(__self), new JValue(p1), new JValue(p2)); }
static void n_SurfaceChanged_Landroid_view_SurfaceHolder_III(IntPtr jnienv, IntPtr native__this, IntPtr native_holder, int native_f, int w, int h) { global::Com.Camera.Simplemjpeg.MjpegView __this = global::Java.Lang.Object.GetObject <global::Com.Camera.Simplemjpeg.MjpegView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Views.ISurfaceHolder holder = (global::Android.Views.ISurfaceHolder)global::Java.Lang.Object.GetObject <global::Android.Views.ISurfaceHolder> (native_holder, JniHandleOwnership.DoNotTransfer); global::Android.Graphics.Format f = (global::Android.Graphics.Format)native_f; __this.SurfaceChanged(holder, f, w, h); }
public unsafe MjpegViewThread(global::Com.Camera.Simplemjpeg.MjpegView __self, global::Android.Views.ISurfaceHolder surfaceHolder, global::Android.Content.Context context) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { string __id = "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Landroid/view/SurfaceHolder;Landroid/content/Context;)V"; if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JniArgumentValue *__args = stackalloc JniArgumentValue [3]; __args [0] = new JniArgumentValue((__self == null) ? IntPtr.Zero : ((global::Java.Lang.Object)__self).Handle); __args [1] = new JniArgumentValue((surfaceHolder == null) ? IntPtr.Zero : ((global::Java.Lang.Object)surfaceHolder).Handle); __args [2] = new JniArgumentValue((context == null) ? IntPtr.Zero : ((global::Java.Lang.Object)context).Handle); var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args); SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef); _members.InstanceMethods.FinishCreateInstance(__id, this, __args); } finally { } }
static void n_SurfaceDestroyed_Landroid_view_SurfaceHolder_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Camera.Simplemjpeg.MjpegView __this = global::Java.Lang.Object.GetObject <global::Com.Camera.Simplemjpeg.MjpegView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Views.ISurfaceHolder p0 = (global::Android.Views.ISurfaceHolder)global::Java.Lang.Object.GetObject <global::Android.Views.ISurfaceHolder> (native_p0, JniHandleOwnership.DoNotTransfer); __this.SurfaceDestroyed(p0); }
static void n_StopPlayback(IntPtr jnienv, IntPtr native__this) { global::Com.Camera.Simplemjpeg.MjpegView __this = global::Java.Lang.Object.GetObject <global::Com.Camera.Simplemjpeg.MjpegView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.StopPlayback(); }
static void n_ShowFps_Z(IntPtr jnienv, IntPtr native__this, bool p0) { global::Com.Camera.Simplemjpeg.MjpegView __this = global::Java.Lang.Object.GetObject <global::Com.Camera.Simplemjpeg.MjpegView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.ShowFps(p0); }
static void n_SetSource_Lcom_camera_simplemjpeg_MjpegInputStream_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Camera.Simplemjpeg.MjpegView __this = global::Java.Lang.Object.GetObject <global::Com.Camera.Simplemjpeg.MjpegView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Camera.Simplemjpeg.MjpegInputStream p0 = global::Java.Lang.Object.GetObject <global::Com.Camera.Simplemjpeg.MjpegInputStream> (native_p0, JniHandleOwnership.DoNotTransfer); __this.SetSource(p0); }
static void n_SetResolution_II(IntPtr jnienv, IntPtr native__this, int p0, int p1) { global::Com.Camera.Simplemjpeg.MjpegView __this = global::Java.Lang.Object.GetObject <global::Com.Camera.Simplemjpeg.MjpegView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.SetResolution(p0, p1); }
static void n_SetOverlayTextColor_I(IntPtr jnienv, IntPtr native__this, int p0) { global::Com.Camera.Simplemjpeg.MjpegView __this = global::Java.Lang.Object.GetObject <global::Com.Camera.Simplemjpeg.MjpegView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.SetOverlayTextColor(p0); }
static void n_SetOverlayPaint_Landroid_graphics_Paint_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Camera.Simplemjpeg.MjpegView __this = global::Java.Lang.Object.GetObject <global::Com.Camera.Simplemjpeg.MjpegView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Graphics.Paint p0 = global::Java.Lang.Object.GetObject <global::Android.Graphics.Paint> (native_p0, JniHandleOwnership.DoNotTransfer); __this.SetOverlayPaint(p0); }
static bool n_IsStreaming(IntPtr jnienv, IntPtr native__this) { global::Com.Camera.Simplemjpeg.MjpegView __this = global::Java.Lang.Object.GetObject <global::Com.Camera.Simplemjpeg.MjpegView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.IsStreaming); }
static void n_SetDisplayMode_I(IntPtr jnienv, IntPtr native__this, int s) { global::Com.Camera.Simplemjpeg.MjpegView __this = global::Java.Lang.Object.GetObject <global::Com.Camera.Simplemjpeg.MjpegView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.SetDisplayMode(s); }