public virtual unsafe void AddTouchDelegate(global::Android.Views.TouchDelegate p0) { if (id_addTouchDelegate_Landroid_view_TouchDelegate_ == IntPtr.Zero) { id_addTouchDelegate_Landroid_view_TouchDelegate_ = JNIEnv.GetMethodID(class_ref, "addTouchDelegate", "(Landroid/view/TouchDelegate;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_addTouchDelegate_Landroid_view_TouchDelegate_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "addTouchDelegate", "(Landroid/view/TouchDelegate;)V"), __args); } } finally { } }
static void n_AddTouchDelegate_Landroid_view_TouchDelegate_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Getbase.Floatingactionbutton.TouchDelegateGroup __this = global::Java.Lang.Object.GetObject <global::Com.Getbase.Floatingactionbutton.TouchDelegateGroup> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Views.TouchDelegate p0 = global::Java.Lang.Object.GetObject <global::Android.Views.TouchDelegate> (native_p0, JniHandleOwnership.DoNotTransfer); __this.AddTouchDelegate(p0); }