public unsafe void InitWith(global::Com.Flask.Colorpicker.Renderer.ColorWheelRenderOption p0) { if (id_initWith_Lcom_flask_colorpicker_renderer_ColorWheelRenderOption_ == IntPtr.Zero) { id_initWith_Lcom_flask_colorpicker_renderer_ColorWheelRenderOption_ = JNIEnv.GetMethodID(class_ref, "initWith", "(Lcom/flask/colorpicker/renderer/ColorWheelRenderOption;)V"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_initWith_Lcom_flask_colorpicker_renderer_ColorWheelRenderOption_, __args); }
public virtual unsafe void InitWith(global::Com.Flask.Colorpicker.Renderer.ColorWheelRenderOption colorWheelRenderOption) { const string __id = "initWith.(Lcom/flask/colorpicker/renderer/ColorWheelRenderOption;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((colorWheelRenderOption == null) ? IntPtr.Zero : ((global::Java.Lang.Object)colorWheelRenderOption).Handle); _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args); } finally { } }
public virtual unsafe void InitWith(global::Com.Flask.Colorpicker.Renderer.ColorWheelRenderOption p0) { if (id_initWith_Lcom_flask_colorpicker_renderer_ColorWheelRenderOption_ == IntPtr.Zero) { id_initWith_Lcom_flask_colorpicker_renderer_ColorWheelRenderOption_ = JNIEnv.GetMethodID(class_ref, "initWith", "(Lcom/flask/colorpicker/renderer/ColorWheelRenderOption;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_initWith_Lcom_flask_colorpicker_renderer_ColorWheelRenderOption_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "initWith", "(Lcom/flask/colorpicker/renderer/ColorWheelRenderOption;)V"), __args); } } finally { } }
static void n_InitWith_Lcom_flask_colorpicker_renderer_ColorWheelRenderOption_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Flask.Colorpicker.Renderer.IColorWheelRenderer __this = global::Java.Lang.Object.GetObject <global::Com.Flask.Colorpicker.Renderer.IColorWheelRenderer> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Flask.Colorpicker.Renderer.ColorWheelRenderOption p0 = global::Java.Lang.Object.GetObject <global::Com.Flask.Colorpicker.Renderer.ColorWheelRenderOption> (native_p0, JniHandleOwnership.DoNotTransfer); __this.InitWith(p0); }