Exemple #1
0
        public bool Emit(AccessibilityManager arg)
        {
            bool ret = Interop.AccessibilityManager.AccessibilityActionSignalEmit(SwigCPtr, AccessibilityManager.getCPtr(arg));

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #2
0
        public static AccessibilityManager GetAccessibilityManagerFromPtr(global::System.IntPtr cPtr)
        {
            AccessibilityManager ret = new AccessibilityManager(cPtr, false);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #3
0
        public static AccessibilityManager Get()
        {
            AccessibilityManager ret = new AccessibilityManager(Interop.AccessibilityManage.AccessibilityManager_Get(), true);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #4
0
        // 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);
        }
Exemple #5
0
 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);
 }