public bool Emit(AccessibilityManager arg) { bool ret = Interop.AccessibilityManager.AccessibilityActionSignalEmit(SwigCPtr, AccessibilityManager.getCPtr(arg)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static AccessibilityManager GetAccessibilityManagerFromPtr(global::System.IntPtr cPtr) { AccessibilityManager ret = new AccessibilityManager(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static AccessibilityManager Get() { AccessibilityManager ret = new AccessibilityManager(Interop.AccessibilityManage.AccessibilityManager_Get(), true); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
// Callback for AccessibilityManager ActionActivateSignal private bool OnActionActivate(IntPtr data) { ActionActivateEventArgs e = new ActionActivateEventArgs(); // Populate all members of "e" (ActionActivateEventArgs) with real data e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data); if (_accessibilityManagerActionActivateEventHandler != null) { //here we send all data to user event handlers return(_accessibilityManagerActionActivateEventHandler(this, e)); } return(false); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AccessibilityManager obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }