private void DirectorOnLongPress(global::System.IntPtr longPress) { var longGesture = new LongPressGesture(longPress, false); OnLongPress?.Invoke(longGesture); longGesture.Dispose(); }
public void Emit(View arg1, LongPressGesture arg2) { NDalicPINVOKE.LongPressGestureDetectedSignal_Emit(swigCPtr, View.getCPtr(arg1), LongPressGesture.getCPtr(arg2)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
internal static LongPressGesture GetLongPressGestureFromPtr(global::System.IntPtr cPtr) { LongPressGesture ret = new LongPressGesture(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static LongPressGesture GetLongPressGestureFromPtr(global::System.IntPtr cPtr) { LongPressGesture ret = Registry.GetManagedBaseHandleFromNativePtr(cPtr) as LongPressGesture; if (ret == null) { ret = new LongPressGesture(cPtr, false); } if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(LongPressGesture obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.SwigCPtr); }