2 * Copyright(c) 2017 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
22 using System.Runtime.InteropServices;
23 using Tizen.NUI.BaseComponents;
25 internal class AccessibilityManager : BaseHandle
27 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
29 internal AccessibilityManager(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.AccessibilityManager_SWIGUpcast(cPtr), cMemoryOwn)
31 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
34 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AccessibilityManager obj)
36 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
39 protected override void Dispose(DisposeTypes type)
46 if (type == DisposeTypes.Explicit)
49 //Release your own managed resources here.
50 //You should release all of your own disposable objects here.
54 //Release your own unmanaged resources here.
55 //You should not access any managed member here except static instance.
56 //because the execution order of Finalizes is non-deterministic.
58 if (swigCPtr.Handle != global::System.IntPtr.Zero)
63 NDalicPINVOKE.delete_AccessibilityManager(swigCPtr);
65 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
72 * @brief Event arguments that passed via StatusChanged signal
75 /// <since_tizen> 3 </since_tizen>
76 public class StatusChangedEventArgs : EventArgs
78 private AccessibilityManager _accessibilityManager;
80 /// <since_tizen> 3 </since_tizen>
81 public AccessibilityManager AccessibilityManager
85 return _accessibilityManager;
89 _accessibilityManager = value;
95 * @brief Event arguments that passed via ActionNext signal
98 /// <since_tizen> 3 </since_tizen>
99 public class ActionNextEventArgs : EventArgs
101 private AccessibilityManager _accessibilityManager;
103 /// <since_tizen> 3 </since_tizen>
104 public AccessibilityManager AccessibilityManager
108 return _accessibilityManager;
112 _accessibilityManager = value;
118 * @brief Event arguments that passed via ActionPrevious signal
121 /// <since_tizen> 3 </since_tizen>
122 public class ActionPreviousEventArgs : EventArgs
124 private AccessibilityManager _accessibilityManager;
126 /// <since_tizen> 3 </since_tizen>
127 public AccessibilityManager AccessibilityManager
131 return _accessibilityManager;
135 _accessibilityManager = value;
141 * @brief Event arguments that passed via ActionActivate signal
144 /// <since_tizen> 3 </since_tizen>
145 public class ActionActivateEventArgs : EventArgs
147 private AccessibilityManager _accessibilityManager;
149 /// <since_tizen> 3 </since_tizen>
150 public AccessibilityManager AccessibilityManager
154 return _accessibilityManager;
158 _accessibilityManager = value;
164 * @brief Event arguments that passed via ActionRead signal
167 /// <since_tizen> 3 </since_tizen>
168 public class ActionReadEventArgs : EventArgs
170 private AccessibilityManager _accessibilityManager;
172 /// <since_tizen> 3 </since_tizen>
173 public AccessibilityManager AccessibilityManager
177 return _accessibilityManager;
181 _accessibilityManager = value;
187 * @brief Event arguments that passed via ActionOver signal
190 /// <since_tizen> 3 </since_tizen>
191 public class ActionOverEventArgs : EventArgs
193 private AccessibilityManager _accessibilityManager;
195 /// <since_tizen> 3 </since_tizen>
196 public AccessibilityManager AccessibilityManager
200 return _accessibilityManager;
204 _accessibilityManager = value;
210 * @brief Event arguments that passed via ActionReadNext signal
213 /// <since_tizen> 3 </since_tizen>
214 public class ActionReadNextEventArgs : EventArgs
216 private AccessibilityManager _accessibilityManager;
218 /// <since_tizen> 3 </since_tizen>
219 public AccessibilityManager AccessibilityManager
223 return _accessibilityManager;
227 _accessibilityManager = value;
233 * @brief Event arguments that passed via ActionReadPrevious signal
236 /// <since_tizen> 3 </since_tizen>
237 public class ActionReadPreviousEventArgs : EventArgs
239 private AccessibilityManager _accessibilityManager;
241 /// <since_tizen> 3 </since_tizen>
242 public AccessibilityManager AccessibilityManager
246 return _accessibilityManager;
250 _accessibilityManager = value;
256 * @brief Event arguments that passed via ActionUp signal
259 /// <since_tizen> 3 </since_tizen>
260 public class ActionUpEventArgs : EventArgs
262 private AccessibilityManager _accessibilityManager;
264 /// <since_tizen> 3 </since_tizen>
265 public AccessibilityManager AccessibilityManager
269 return _accessibilityManager;
273 _accessibilityManager = value;
279 * @brief Event arguments that passed via ActionDown signal
282 /// <since_tizen> 3 </since_tizen>
283 public class ActionDownEventArgs : EventArgs
285 private AccessibilityManager _accessibilityManager;
287 /// <since_tizen> 3 </since_tizen>
288 public AccessibilityManager AccessibilityManager
292 return _accessibilityManager;
296 _accessibilityManager = value;
302 * @brief Event arguments that passed via ActionClearFocus signal
305 /// <since_tizen> 3 </since_tizen>
306 public class ActionClearFocusEventArgs : EventArgs
308 private AccessibilityManager _accessibilityManager;
310 /// <since_tizen> 3 </since_tizen>
311 public AccessibilityManager AccessibilityManager
315 return _accessibilityManager;
319 _accessibilityManager = value;
325 * @brief Event arguments that passed via ActionBack signal
328 /// <since_tizen> 3 </since_tizen>
329 public class ActionBackEventArgs : EventArgs
331 private AccessibilityManager _accessibilityManager;
333 /// <since_tizen> 3 </since_tizen>
334 public AccessibilityManager AccessibilityManager
338 return _accessibilityManager;
342 _accessibilityManager = value;
348 * @brief Event arguments that passed via ActionScrollUp signal
351 /// <since_tizen> 3 </since_tizen>
352 public class ActionScrollUpEventArgs : EventArgs
354 private AccessibilityManager _accessibilityManager;
356 /// <since_tizen> 3 </since_tizen>
357 public AccessibilityManager AccessibilityManager
361 return _accessibilityManager;
365 _accessibilityManager = value;
371 * @brief Event arguments that passed via ActionScrollDown signal
374 /// <since_tizen> 3 </since_tizen>
375 public class ActionScrollDownEventArgs : EventArgs
377 private AccessibilityManager _accessibilityManager;
379 /// <since_tizen> 3 </since_tizen>
380 public AccessibilityManager AccessibilityManager
384 return _accessibilityManager;
388 _accessibilityManager = value;
394 * @brief Event arguments that passed via ActionPageLeft signal
397 /// <since_tizen> 3 </since_tizen>
398 public class ActionPageLeftEventArgs : EventArgs
400 private AccessibilityManager _accessibilityManager;
402 /// <since_tizen> 3 </since_tizen>
403 public AccessibilityManager AccessibilityManager
407 return _accessibilityManager;
411 _accessibilityManager = value;
417 * @brief Event arguments that passed via ActionPageRight signal
420 /// <since_tizen> 3 </since_tizen>
421 public class ActionPageRightEventArgs : EventArgs
423 private AccessibilityManager _accessibilityManager;
425 /// <since_tizen> 3 </since_tizen>
426 public AccessibilityManager AccessibilityManager
430 return _accessibilityManager;
434 _accessibilityManager = value;
440 * @brief Event arguments that passed via ActionPageUp signal
443 /// <since_tizen> 3 </since_tizen>
444 public class ActionPageUpEventArgs : EventArgs
446 private AccessibilityManager _accessibilityManager;
448 /// <since_tizen> 3 </since_tizen>
449 public AccessibilityManager AccessibilityManager
453 return _accessibilityManager;
457 _accessibilityManager = value;
463 * @brief Event arguments that passed via ActionPageDown signal
466 /// <since_tizen> 3 </since_tizen>
467 public class ActionPageDownEventArgs : EventArgs
469 private AccessibilityManager _accessibilityManager;
471 /// <since_tizen> 3 </since_tizen>
472 public AccessibilityManager AccessibilityManager
476 return _accessibilityManager;
480 _accessibilityManager = value;
486 * @brief Event arguments that passed via ActionMoveToFirst signal
489 /// <since_tizen> 3 </since_tizen>
490 public class ActionMoveToFirstEventArgs : EventArgs
492 private AccessibilityManager _accessibilityManager;
494 /// <since_tizen> 3 </since_tizen>
495 public AccessibilityManager AccessibilityManager
499 return _accessibilityManager;
503 _accessibilityManager = value;
509 * @brief Event arguments that passed via ActionMoveToLast signal
512 /// <since_tizen> 3 </since_tizen>
513 public class ActionMoveToLastEventArgs : EventArgs
515 private AccessibilityManager _accessibilityManager;
517 /// <since_tizen> 3 </since_tizen>
518 public AccessibilityManager AccessibilityManager
522 return _accessibilityManager;
526 _accessibilityManager = value;
532 * @brief Event arguments that passed via ActionReadFromTop signal
535 /// <since_tizen> 3 </since_tizen>
536 public class ActionReadFromTopEventArgs : EventArgs
538 private AccessibilityManager _accessibilityManager;
540 /// <since_tizen> 3 </since_tizen>
541 public AccessibilityManager AccessibilityManager
545 return _accessibilityManager;
549 _accessibilityManager = value;
555 * @brief Event arguments that passed via ActionReadFromNext signal
558 /// <since_tizen> 3 </since_tizen>
559 public class ActionReadFromNextEventArgs : EventArgs
561 private AccessibilityManager _accessibilityManager;
563 /// <since_tizen> 3 </since_tizen>
564 public AccessibilityManager AccessibilityManager
568 return _accessibilityManager;
572 _accessibilityManager = value;
578 * @brief Event arguments that passed via ActionZoom signal
581 /// <since_tizen> 3 </since_tizen>
582 public class ActionZoomEventArgs : EventArgs
584 private AccessibilityManager _accessibilityManager;
586 /// <since_tizen> 3 </since_tizen>
587 public AccessibilityManager AccessibilityManager
591 return _accessibilityManager;
595 _accessibilityManager = value;
601 * @brief Event arguments that passed via ActionReadIndicatorInformation signal
604 /// <since_tizen> 3 </since_tizen>
605 public class ActionReadIndicatorInformationEventArgs : EventArgs
607 private AccessibilityManager _accessibilityManager;
609 /// <since_tizen> 3 </since_tizen>
610 public AccessibilityManager AccessibilityManager
614 return _accessibilityManager;
618 _accessibilityManager = value;
624 * @brief Event arguments that passed via ActionReadPauseResume signal
627 /// <since_tizen> 3 </since_tizen>
628 public class ActionReadPauseResumeEventArgs : EventArgs
630 private AccessibilityManager _accessibilityManager;
632 /// <since_tizen> 3 </since_tizen>
633 public AccessibilityManager AccessibilityManager
637 return _accessibilityManager;
641 _accessibilityManager = value;
647 * @brief Event arguments that passed via ActionStartStop signal
650 /// <since_tizen> 3 </since_tizen>
651 public class ActionStartStopEventArgs : EventArgs
653 private AccessibilityManager _accessibilityManager;
655 /// <since_tizen> 3 </since_tizen>
656 public AccessibilityManager AccessibilityManager
660 return _accessibilityManager;
664 _accessibilityManager = value;
670 // To be replaced by a new event that takes Touch
671 public class ActionScrollEventArgs : EventArgs
673 private AccessibilityManager _accessibilityManager;
674 private TouchEvent _touchEvent;
676 public AccessibilityManager AccessibilityManager
680 return _accessibilityManager;
684 _accessibilityManager = value;
688 public TouchEvent TouchEvent
703 * @brief Event arguments that passed via ActionPageUp signal
706 /// <since_tizen> 3 </since_tizen>
707 public class FocusChangedEventArgs : EventArgs
709 private View _viewCurrent;
710 private View _viewNext;
712 /// <since_tizen> 3 </since_tizen>
713 public View ViewCurrent
721 _viewCurrent = value;
725 /// <since_tizen> 3 </since_tizen>
740 * @brief Event arguments that passed via FocusedViewActivated signal
743 /// <since_tizen> 3 </since_tizen>
744 public class FocusedViewActivatedEventArgs : EventArgs
749 /// <since_tizen> 3 </since_tizen>
764 * @brief Event arguments that passed via FocusOvershot signal
767 /// <since_tizen> 3 </since_tizen>
768 public class FocusOvershotEventArgs : EventArgs
770 private View _currentFocusedView;
771 private AccessibilityManager.FocusOvershotDirection _focusOvershotDirection;
773 /// <since_tizen> 3 </since_tizen>
774 public View CurrentFocusedView
778 return _currentFocusedView;
782 _currentFocusedView = value;
786 /// <since_tizen> 3 </since_tizen>
787 public AccessibilityManager.FocusOvershotDirection FocusOvershotDirection
791 return _focusOvershotDirection;
795 _focusOvershotDirection = value;
801 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
802 private delegate bool StatusChangedEventCallbackDelegate(IntPtr accessibilityManager);
803 private DaliEventHandlerWithReturnType<object, StatusChangedEventArgs, bool> _accessibilityManagerStatusChangedEventHandler;
804 private StatusChangedEventCallbackDelegate _accessibilityManagerStatusChangedEventCallbackDelegate;
806 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
807 private delegate bool ActionNextEventCallbackDelegate(IntPtr accessibilityManager);
808 private DaliEventHandlerWithReturnType<object, ActionNextEventArgs, bool> _accessibilityManagerActionNextEventHandler;
809 private ActionNextEventCallbackDelegate _accessibilityManagerActionNextEventCallbackDelegate;
811 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
812 private delegate bool ActionPreviousEventCallbackDelegate(IntPtr accessibilityManager);
813 private DaliEventHandlerWithReturnType<object, ActionPreviousEventArgs, bool> _accessibilityManagerActionPreviousEventHandler;
814 private ActionPreviousEventCallbackDelegate _accessibilityManagerActionPreviousEventCallbackDelegate;
816 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
817 private delegate bool ActionActivateEventCallbackDelegate(IntPtr accessibilityManager);
818 private DaliEventHandlerWithReturnType<object, ActionActivateEventArgs, bool> _accessibilityManagerActionActivateEventHandler;
819 private ActionActivateEventCallbackDelegate _accessibilityManagerActionActivateEventCallbackDelegate;
821 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
822 private delegate bool ActionReadEventCallbackDelegate(IntPtr accessibilityManager);
823 private DaliEventHandlerWithReturnType<object, ActionReadEventArgs, bool> _accessibilityManagerActionReadEventHandler;
824 private ActionReadEventCallbackDelegate _accessibilityManagerActionReadEventCallbackDelegate;
826 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
827 private delegate bool ActionOverEventCallbackDelegate(IntPtr accessibilityManager);
828 private DaliEventHandlerWithReturnType<object, ActionOverEventArgs, bool> _accessibilityManagerActionOverEventHandler;
829 private ActionOverEventCallbackDelegate _accessibilityManagerActionOverEventCallbackDelegate;
831 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
832 private delegate bool ActionReadNextEventCallbackDelegate(IntPtr accessibilityManager);
833 private DaliEventHandlerWithReturnType<object, ActionReadNextEventArgs, bool> _accessibilityManagerActionReadNextEventHandler;
834 private ActionReadNextEventCallbackDelegate _accessibilityManagerActionReadNextEventCallbackDelegate;
836 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
837 private delegate bool ActionReadPreviousEventCallbackDelegate(IntPtr accessibilityManager);
838 private DaliEventHandlerWithReturnType<object, ActionReadPreviousEventArgs, bool> _accessibilityManagerActionReadPreviousEventHandler;
839 private ActionReadPreviousEventCallbackDelegate _accessibilityManagerActionReadPreviousEventCallbackDelegate;
841 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
842 private delegate bool ActionUpEventCallbackDelegate(IntPtr accessibilityManager);
843 private DaliEventHandlerWithReturnType<object, ActionUpEventArgs, bool> _accessibilityManagerActionUpEventHandler;
844 private ActionUpEventCallbackDelegate _accessibilityManagerActionUpEventCallbackDelegate;
846 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
847 private delegate bool ActionDownEventCallbackDelegate(IntPtr accessibilityManager);
848 private DaliEventHandlerWithReturnType<object, ActionDownEventArgs, bool> _accessibilityManagerActionDownEventHandler;
849 private ActionDownEventCallbackDelegate _accessibilityManagerActionDownEventCallbackDelegate;
851 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
852 private delegate bool ActionClearFocusEventCallbackDelegate(IntPtr accessibilityManager);
853 private DaliEventHandlerWithReturnType<object, ActionClearFocusEventArgs, bool> _accessibilityManagerActionClearFocusEventHandler;
854 private ActionClearFocusEventCallbackDelegate _accessibilityManagerActionClearFocusEventCallbackDelegate;
856 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
857 private delegate bool ActionBackEventCallbackDelegate(IntPtr accessibilityManager);
858 private DaliEventHandlerWithReturnType<object, ActionBackEventArgs, bool> _accessibilityManagerActionBackEventHandler;
859 private ActionBackEventCallbackDelegate _accessibilityManagerActionBackEventCallbackDelegate;
861 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
862 private delegate bool ActionScrollUpEventCallbackDelegate(IntPtr accessibilityManager);
863 private DaliEventHandlerWithReturnType<object, ActionScrollUpEventArgs, bool> _accessibilityManagerActionScrollUpEventHandler;
864 private ActionScrollUpEventCallbackDelegate _accessibilityManagerActionScrollUpEventCallbackDelegate;
866 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
867 private delegate bool ActionScrollDownEventCallbackDelegate(IntPtr accessibilityManager);
868 private DaliEventHandlerWithReturnType<object, ActionScrollDownEventArgs, bool> _accessibilityManagerActionScrollDownEventHandler;
869 private ActionScrollDownEventCallbackDelegate _accessibilityManagerActionScrollDownEventCallbackDelegate;
871 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
872 private delegate bool ActionPageLeftEventCallbackDelegate(IntPtr accessibilityManager);
873 private DaliEventHandlerWithReturnType<object, ActionPageLeftEventArgs, bool> _accessibilityManagerActionPageLeftEventHandler;
874 private ActionPageLeftEventCallbackDelegate _accessibilityManagerActionPageLeftEventCallbackDelegate;
876 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
877 private delegate bool ActionPageRightEventCallbackDelegate(IntPtr accessibilityManager);
878 private DaliEventHandlerWithReturnType<object, ActionPageRightEventArgs, bool> _accessibilityManagerActionPageRightEventHandler;
879 private ActionPageRightEventCallbackDelegate _accessibilityManagerActionPageRightEventCallbackDelegate;
881 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
882 private delegate bool ActionPageUpEventCallbackDelegate(IntPtr accessibilityManager);
883 private DaliEventHandlerWithReturnType<object, ActionPageUpEventArgs, bool> _accessibilityManagerActionPageUpEventHandler;
884 private ActionPageUpEventCallbackDelegate _accessibilityManagerActionPageUpEventCallbackDelegate;
886 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
887 private delegate bool ActionPageDownEventCallbackDelegate(IntPtr accessibilityManager);
888 private DaliEventHandlerWithReturnType<object, ActionPageDownEventArgs, bool> _accessibilityManagerActionPageDownEventHandler;
889 private ActionPageDownEventCallbackDelegate _accessibilityManagerActionPageDownEventCallbackDelegate;
891 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
892 private delegate bool ActionMoveToFirstEventCallbackDelegate(IntPtr accessibilityManager);
893 private DaliEventHandlerWithReturnType<object, ActionMoveToFirstEventArgs, bool> _accessibilityManagerActionMoveToFirstEventHandler;
894 private ActionMoveToFirstEventCallbackDelegate _accessibilityManagerActionMoveToFirstEventCallbackDelegate;
896 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
897 private delegate bool ActionMoveToLastEventCallbackDelegate(IntPtr accessibilityManager);
898 private DaliEventHandlerWithReturnType<object, ActionMoveToLastEventArgs, bool> _accessibilityManagerActionMoveToLastEventHandler;
899 private ActionMoveToLastEventCallbackDelegate _accessibilityManagerActionMoveToLastEventCallbackDelegate;
901 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
902 private delegate bool ActionReadFromTopEventCallbackDelegate(IntPtr accessibilityManager);
903 private DaliEventHandlerWithReturnType<object, ActionReadFromTopEventArgs, bool> _accessibilityManagerActionReadFromTopEventHandler;
904 private ActionReadFromTopEventCallbackDelegate _accessibilityManagerActionReadFromTopEventCallbackDelegate;
906 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
907 private delegate bool ActionReadFromNextEventCallbackDelegate(IntPtr accessibilityManager);
908 private DaliEventHandlerWithReturnType<object, ActionReadFromNextEventArgs, bool> _accessibilityManagerActionReadFromNextEventHandler;
909 private ActionReadFromNextEventCallbackDelegate _accessibilityManagerActionReadFromNextEventCallbackDelegate;
911 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
912 private delegate bool ActionZoomEventCallbackDelegate(IntPtr accessibilityManager);
913 private DaliEventHandlerWithReturnType<object, ActionZoomEventArgs, bool> _accessibilityManagerActionZoomEventHandler;
914 private ActionZoomEventCallbackDelegate _accessibilityManagerActionZoomEventCallbackDelegate;
916 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
917 private delegate bool ActionReadIndicatorInformationEventCallbackDelegate(IntPtr accessibilityManager);
918 private DaliEventHandlerWithReturnType<object, ActionReadIndicatorInformationEventArgs, bool> _accessibilityManagerActionReadIndicatorInformationEventHandler;
919 private ActionReadIndicatorInformationEventCallbackDelegate _accessibilityManagerActionReadIndicatorInformationEventCallbackDelegate;
921 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
922 private delegate bool ActionReadPauseResumeEventCallbackDelegate(IntPtr accessibilityManager);
923 private DaliEventHandlerWithReturnType<object, ActionReadPauseResumeEventArgs, bool> _accessibilityManagerActionReadPauseResumeEventHandler;
924 private ActionReadPauseResumeEventCallbackDelegate _accessibilityManagerActionReadPauseResumeEventCallbackDelegate;
926 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
927 private delegate bool ActionStartStopEventCallbackDelegate(IntPtr accessibilityManager);
928 private DaliEventHandlerWithReturnType<object, ActionStartStopEventArgs, bool> _accessibilityManagerActionStartStopEventHandler;
929 private ActionStartStopEventCallbackDelegate _accessibilityManagerActionStartStopEventCallbackDelegate;
932 // To be replaced by a new event that takes Touch
933 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
934 private delegate bool ActionScrollEventCallbackDelegate(IntPtr accessibilityManager, IntPtr touchEvent);
935 private DaliEventHandlerWithReturnType<object,ActionScrollEventArgs,bool> _accessibilityManagerActionScrollEventHandler;
936 private ActionScrollEventCallbackDelegate _accessibilityManagerActionScrollEventCallbackDelegate;
939 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
940 private delegate void FocusChangedEventCallbackDelegate(IntPtr view1, IntPtr view2);
941 private DaliEventHandler<object, FocusChangedEventArgs> _accessibilityManagerFocusChangedEventHandler;
942 private FocusChangedEventCallbackDelegate _accessibilityManagerFocusChangedEventCallbackDelegate;
944 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
945 private delegate void FocusedViewActivatedEventCallbackDelegate(IntPtr view);
946 private DaliEventHandler<object, FocusedViewActivatedEventArgs> _accessibilityManagerFocusedViewActivatedEventHandler;
947 private FocusedViewActivatedEventCallbackDelegate _accessibilityManagerFocusedViewActivatedEventCallbackDelegate;
949 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
950 private delegate void FocusOvershotEventCallbackDelegate(IntPtr currentFocusedView, AccessibilityManager.FocusOvershotDirection direction);
951 private DaliEventHandler<object, FocusOvershotEventArgs> _accessibilityManagerFocusOvershotEventHandler;
952 private FocusOvershotEventCallbackDelegate _accessibilityManagerFocusOvershotEventCallbackDelegate;
954 public event DaliEventHandlerWithReturnType<object, StatusChangedEventArgs, bool> StatusChanged
960 // Restricted to only one listener
961 if (_accessibilityManagerStatusChangedEventHandler == null)
963 _accessibilityManagerStatusChangedEventHandler += value;
965 _accessibilityManagerStatusChangedEventCallbackDelegate = new StatusChangedEventCallbackDelegate(OnStatusChanged);
966 this.StatusChangedSignal().Connect(_accessibilityManagerStatusChangedEventCallbackDelegate);
975 if (_accessibilityManagerStatusChangedEventHandler != null)
977 this.StatusChangedSignal().Disconnect(_accessibilityManagerStatusChangedEventCallbackDelegate);
980 _accessibilityManagerStatusChangedEventHandler -= value;
985 // Callback for AccessibilityManager StatusChangedSignal
986 private bool OnStatusChanged(IntPtr data)
988 StatusChangedEventArgs e = new StatusChangedEventArgs();
990 // Populate all members of "e" (StatusChangedEventArgs) with real data
991 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
993 if (_accessibilityManagerStatusChangedEventHandler != null)
995 //here we send all data to user event handlers
996 return _accessibilityManagerStatusChangedEventHandler(this, e);
1001 public event DaliEventHandlerWithReturnType<object, ActionNextEventArgs, bool> ActionNext
1007 // Restricted to only one listener
1008 if (_accessibilityManagerActionNextEventHandler == null)
1010 _accessibilityManagerActionNextEventHandler += value;
1012 _accessibilityManagerActionNextEventCallbackDelegate = new ActionNextEventCallbackDelegate(OnActionNext);
1013 this.ActionNextSignal().Connect(_accessibilityManagerActionNextEventCallbackDelegate);
1022 if (_accessibilityManagerActionNextEventHandler != null)
1024 this.ActionNextSignal().Disconnect(_accessibilityManagerActionNextEventCallbackDelegate);
1027 _accessibilityManagerActionNextEventHandler -= value;
1032 // Callback for AccessibilityManager ActionNextSignal
1033 private bool OnActionNext(IntPtr data)
1035 ActionNextEventArgs e = new ActionNextEventArgs();
1037 // Populate all members of "e" (ActionNextEventArgs) with real data
1038 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1040 if (_accessibilityManagerActionNextEventHandler != null)
1042 //here we send all data to user event handlers
1043 return _accessibilityManagerActionNextEventHandler(this, e);
1048 public event DaliEventHandlerWithReturnType<object, ActionPreviousEventArgs, bool> ActionPrevious
1054 // Restricted to only one listener
1055 if (_accessibilityManagerActionPreviousEventHandler == null)
1057 _accessibilityManagerActionPreviousEventHandler += value;
1059 _accessibilityManagerActionPreviousEventCallbackDelegate = new ActionPreviousEventCallbackDelegate(OnActionPrevious);
1060 this.ActionPreviousSignal().Connect(_accessibilityManagerActionPreviousEventCallbackDelegate);
1069 if (_accessibilityManagerActionPreviousEventHandler != null)
1071 this.ActionPreviousSignal().Disconnect(_accessibilityManagerActionPreviousEventCallbackDelegate);
1074 _accessibilityManagerActionPreviousEventHandler -= value;
1079 // Callback for AccessibilityManager ActionPreviousSignal
1080 private bool OnActionPrevious(IntPtr data)
1082 ActionPreviousEventArgs e = new ActionPreviousEventArgs();
1084 // Populate all members of "e" (ActionPreviousEventArgs) with real data
1085 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1087 if (_accessibilityManagerActionPreviousEventHandler != null)
1089 //here we send all data to user event handlers
1090 return _accessibilityManagerActionPreviousEventHandler(this, e);
1095 public event DaliEventHandlerWithReturnType<object, ActionActivateEventArgs, bool> ActionActivate
1101 // Restricted to only one listener
1102 if (_accessibilityManagerActionActivateEventHandler == null)
1104 _accessibilityManagerActionActivateEventHandler += value;
1106 _accessibilityManagerActionActivateEventCallbackDelegate = new ActionActivateEventCallbackDelegate(OnActionActivate);
1107 this.ActionActivateSignal().Connect(_accessibilityManagerActionActivateEventCallbackDelegate);
1116 if (_accessibilityManagerActionActivateEventHandler != null)
1118 this.ActionActivateSignal().Disconnect(_accessibilityManagerActionActivateEventCallbackDelegate);
1121 _accessibilityManagerActionActivateEventHandler -= value;
1126 // Callback for AccessibilityManager ActionActivateSignal
1127 private bool OnActionActivate(IntPtr data)
1129 ActionActivateEventArgs e = new ActionActivateEventArgs();
1131 // Populate all members of "e" (ActionActivateEventArgs) with real data
1132 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1134 if (_accessibilityManagerActionActivateEventHandler != null)
1136 //here we send all data to user event handlers
1137 return _accessibilityManagerActionActivateEventHandler(this, e);
1142 public event DaliEventHandlerWithReturnType<object, ActionReadEventArgs, bool> ActionRead
1148 // Restricted to only one listener
1149 if (_accessibilityManagerActionReadEventHandler == null)
1151 _accessibilityManagerActionReadEventHandler += value;
1153 _accessibilityManagerActionReadEventCallbackDelegate = new ActionReadEventCallbackDelegate(OnActionRead);
1154 this.ActionReadSignal().Connect(_accessibilityManagerActionReadEventCallbackDelegate);
1163 if (_accessibilityManagerActionReadEventHandler != null)
1165 this.ActionReadSignal().Disconnect(_accessibilityManagerActionReadEventCallbackDelegate);
1168 _accessibilityManagerActionReadEventHandler -= value;
1173 // Callback for AccessibilityManager ActionReadSignal
1174 private bool OnActionRead(IntPtr data)
1176 ActionReadEventArgs e = new ActionReadEventArgs();
1178 // Populate all members of "e" (ActionReadEventArgs) with real data
1179 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1181 if (_accessibilityManagerActionReadEventHandler != null)
1183 //here we send all data to user event handlers
1184 return _accessibilityManagerActionReadEventHandler(this, e);
1189 public event DaliEventHandlerWithReturnType<object, ActionOverEventArgs, bool> ActionOver
1195 // Restricted to only one listener
1196 if (_accessibilityManagerActionOverEventHandler == null)
1198 _accessibilityManagerActionOverEventHandler += value;
1200 _accessibilityManagerActionOverEventCallbackDelegate = new ActionOverEventCallbackDelegate(OnActionOver);
1201 this.ActionOverSignal().Connect(_accessibilityManagerActionOverEventCallbackDelegate);
1210 if (_accessibilityManagerActionOverEventHandler != null)
1212 this.ActionOverSignal().Disconnect(_accessibilityManagerActionOverEventCallbackDelegate);
1215 _accessibilityManagerActionOverEventHandler -= value;
1220 // Callback for AccessibilityManager ActionOverSignal
1221 private bool OnActionOver(IntPtr data)
1223 ActionOverEventArgs e = new ActionOverEventArgs();
1225 // Populate all members of "e" (ActionOverEventArgs) with real data
1226 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1228 if (_accessibilityManagerActionOverEventHandler != null)
1230 //here we send all data to user event handlers
1231 return _accessibilityManagerActionOverEventHandler(this, e);
1236 public event DaliEventHandlerWithReturnType<object, ActionReadNextEventArgs, bool> ActionReadNext
1242 // Restricted to only one listener
1243 if (_accessibilityManagerActionReadNextEventHandler == null)
1245 _accessibilityManagerActionReadNextEventHandler += value;
1247 _accessibilityManagerActionReadNextEventCallbackDelegate = new ActionReadNextEventCallbackDelegate(OnActionReadNext);
1248 this.ActionReadNextSignal().Connect(_accessibilityManagerActionReadNextEventCallbackDelegate);
1257 if (_accessibilityManagerActionReadNextEventHandler != null)
1259 this.ActionReadNextSignal().Disconnect(_accessibilityManagerActionReadNextEventCallbackDelegate);
1262 _accessibilityManagerActionReadNextEventHandler -= value;
1267 // Callback for AccessibilityManager ActionReadNextSignal
1268 private bool OnActionReadNext(IntPtr data)
1270 ActionReadNextEventArgs e = new ActionReadNextEventArgs();
1272 // Populate all members of "e" (ActionReadNextEventArgs) with real data
1273 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1275 if (_accessibilityManagerActionReadNextEventHandler != null)
1277 //here we send all data to user event handlers
1278 return _accessibilityManagerActionReadNextEventHandler(this, e);
1284 public event DaliEventHandlerWithReturnType<object, ActionReadPreviousEventArgs, bool> ActionReadPrevious
1290 // Restricted to only one listener
1291 if (_accessibilityManagerActionReadPreviousEventHandler == null)
1293 _accessibilityManagerActionReadPreviousEventHandler += value;
1295 _accessibilityManagerActionReadPreviousEventCallbackDelegate = new ActionReadPreviousEventCallbackDelegate(OnActionReadPrevious);
1296 this.ActionReadPreviousSignal().Connect(_accessibilityManagerActionReadPreviousEventCallbackDelegate);
1305 if (_accessibilityManagerActionReadPreviousEventHandler != null)
1307 this.ActionReadPreviousSignal().Disconnect(_accessibilityManagerActionReadPreviousEventCallbackDelegate);
1310 _accessibilityManagerActionReadPreviousEventHandler -= value;
1315 // Callback for AccessibilityManager ActionReadPreviousSignal
1316 private bool OnActionReadPrevious(IntPtr data)
1318 ActionReadPreviousEventArgs e = new ActionReadPreviousEventArgs();
1320 // Populate all members of "e" (ActionReadPreviousEventArgs) with real data
1321 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1323 if (_accessibilityManagerActionReadPreviousEventHandler != null)
1325 //here we send all data to user event handlers
1326 return _accessibilityManagerActionReadPreviousEventHandler(this, e);
1331 public event DaliEventHandlerWithReturnType<object, ActionUpEventArgs, bool> ActionUp
1337 // Restricted to only one listener
1338 if (_accessibilityManagerActionUpEventHandler == null)
1340 _accessibilityManagerActionUpEventHandler += value;
1342 _accessibilityManagerActionUpEventCallbackDelegate = new ActionUpEventCallbackDelegate(OnActionUp);
1343 this.ActionUpSignal().Connect(_accessibilityManagerActionUpEventCallbackDelegate);
1352 if (_accessibilityManagerActionUpEventHandler != null)
1354 this.ActionUpSignal().Disconnect(_accessibilityManagerActionUpEventCallbackDelegate);
1357 _accessibilityManagerActionUpEventHandler -= value;
1362 // Callback for AccessibilityManager ActionUpSignal
1363 private bool OnActionUp(IntPtr data)
1365 ActionUpEventArgs e = new ActionUpEventArgs();
1367 // Populate all members of "e" (ActionUpEventArgs) with real data
1368 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1370 if (_accessibilityManagerActionUpEventHandler != null)
1372 //here we send all data to user event handlers
1373 return _accessibilityManagerActionUpEventHandler(this, e);
1378 public event DaliEventHandlerWithReturnType<object, ActionDownEventArgs, bool> ActionDown
1384 // Restricted to only one listener
1385 if (_accessibilityManagerActionDownEventHandler == null)
1387 _accessibilityManagerActionDownEventHandler += value;
1389 _accessibilityManagerActionDownEventCallbackDelegate = new ActionDownEventCallbackDelegate(OnActionDown);
1390 this.ActionDownSignal().Connect(_accessibilityManagerActionDownEventCallbackDelegate);
1399 if (_accessibilityManagerActionDownEventHandler != null)
1401 this.ActionDownSignal().Disconnect(_accessibilityManagerActionDownEventCallbackDelegate);
1404 _accessibilityManagerActionDownEventHandler -= value;
1409 // Callback for AccessibilityManager ActionDownSignal
1410 private bool OnActionDown(IntPtr data)
1412 ActionDownEventArgs e = new ActionDownEventArgs();
1414 // Populate all members of "e" (ActionDownEventArgs) with real data
1415 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1417 if (_accessibilityManagerActionDownEventHandler != null)
1419 //here we send all data to user event handlers
1420 return _accessibilityManagerActionDownEventHandler(this, e);
1425 public event DaliEventHandlerWithReturnType<object, ActionClearFocusEventArgs, bool> ActionClearFocus
1431 // Restricted to only one listener
1432 if (_accessibilityManagerActionClearFocusEventHandler == null)
1434 _accessibilityManagerActionClearFocusEventHandler += value;
1436 _accessibilityManagerActionClearFocusEventCallbackDelegate = new ActionClearFocusEventCallbackDelegate(OnActionClearFocus);
1437 this.ActionClearFocusSignal().Connect(_accessibilityManagerActionClearFocusEventCallbackDelegate);
1446 if (_accessibilityManagerActionClearFocusEventHandler != null)
1448 this.ActionClearFocusSignal().Disconnect(_accessibilityManagerActionClearFocusEventCallbackDelegate);
1451 _accessibilityManagerActionClearFocusEventHandler -= value;
1456 // Callback for AccessibilityManager ActionClearFocusSignal
1457 private bool OnActionClearFocus(IntPtr data)
1459 ActionClearFocusEventArgs e = new ActionClearFocusEventArgs();
1461 // Populate all members of "e" (ActionClearFocusEventArgs) with real data
1462 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1464 if (_accessibilityManagerActionClearFocusEventHandler != null)
1466 //here we send all data to user event handlers
1467 return _accessibilityManagerActionClearFocusEventHandler(this, e);
1472 public event DaliEventHandlerWithReturnType<object, ActionBackEventArgs, bool> ActionBack
1478 // Restricted to only one listener
1479 if (_accessibilityManagerActionBackEventHandler == null)
1481 _accessibilityManagerActionBackEventHandler += value;
1483 _accessibilityManagerActionBackEventCallbackDelegate = new ActionBackEventCallbackDelegate(OnActionBack);
1484 this.ActionBackSignal().Connect(_accessibilityManagerActionBackEventCallbackDelegate);
1493 if (_accessibilityManagerActionBackEventHandler != null)
1495 this.ActionBackSignal().Disconnect(_accessibilityManagerActionBackEventCallbackDelegate);
1498 _accessibilityManagerActionBackEventHandler -= value;
1503 // Callback for AccessibilityManager ActionBackSignal
1504 private bool OnActionBack(IntPtr data)
1506 ActionBackEventArgs e = new ActionBackEventArgs();
1508 // Populate all members of "e" (ActionBackEventArgs) with real data
1509 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1511 if (_accessibilityManagerActionBackEventHandler != null)
1513 //here we send all data to user event handlers
1514 return _accessibilityManagerActionBackEventHandler(this, e);
1519 public event DaliEventHandlerWithReturnType<object, ActionScrollUpEventArgs, bool> ActionScrollUp
1525 // Restricted to only one listener
1526 if (_accessibilityManagerActionScrollUpEventHandler == null)
1528 _accessibilityManagerActionScrollUpEventHandler += value;
1530 _accessibilityManagerActionScrollUpEventCallbackDelegate = new ActionScrollUpEventCallbackDelegate(OnActionScrollUp);
1531 this.ActionScrollUpSignal().Connect(_accessibilityManagerActionScrollUpEventCallbackDelegate);
1540 if (_accessibilityManagerActionScrollUpEventHandler != null)
1542 this.ActionScrollUpSignal().Disconnect(_accessibilityManagerActionScrollUpEventCallbackDelegate);
1545 _accessibilityManagerActionScrollUpEventHandler -= value;
1550 // Callback for AccessibilityManager ActionScrollUpSignal
1551 private bool OnActionScrollUp(IntPtr data)
1553 ActionScrollUpEventArgs e = new ActionScrollUpEventArgs();
1555 // Populate all members of "e" (ActionScrollUpEventArgs) with real data
1556 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1558 if (_accessibilityManagerActionScrollUpEventHandler != null)
1560 //here we send all data to user event handlers
1561 return _accessibilityManagerActionScrollUpEventHandler(this, e);
1566 public event DaliEventHandlerWithReturnType<object, ActionScrollDownEventArgs, bool> ActionScrollDown
1572 // Restricted to only one listener
1573 if (_accessibilityManagerActionScrollDownEventHandler == null)
1575 _accessibilityManagerActionScrollDownEventHandler += value;
1577 _accessibilityManagerActionScrollDownEventCallbackDelegate = new ActionScrollDownEventCallbackDelegate(OnActionScrollDown);
1578 this.ActionScrollDownSignal().Connect(_accessibilityManagerActionScrollDownEventCallbackDelegate);
1587 if (_accessibilityManagerActionScrollDownEventHandler != null)
1589 this.ActionScrollDownSignal().Disconnect(_accessibilityManagerActionScrollDownEventCallbackDelegate);
1592 _accessibilityManagerActionScrollDownEventHandler -= value;
1597 // Callback for AccessibilityManager ActionScrollDownSignal
1598 private bool OnActionScrollDown(IntPtr data)
1600 ActionScrollDownEventArgs e = new ActionScrollDownEventArgs();
1602 // Populate all members of "e" (ActionScrollDownEventArgs) with real data
1603 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1605 if (_accessibilityManagerActionScrollDownEventHandler != null)
1607 //here we send all data to user event handlers
1608 return _accessibilityManagerActionScrollDownEventHandler(this, e);
1614 public event DaliEventHandlerWithReturnType<object, ActionPageLeftEventArgs, bool> ActionPageLeft
1620 // Restricted to only one listener
1621 if (_accessibilityManagerActionPageLeftEventHandler == null)
1623 _accessibilityManagerActionPageLeftEventHandler += value;
1625 _accessibilityManagerActionPageLeftEventCallbackDelegate = new ActionPageLeftEventCallbackDelegate(OnActionPageLeft);
1626 this.ActionPageLeftSignal().Connect(_accessibilityManagerActionPageLeftEventCallbackDelegate);
1635 if (_accessibilityManagerActionPageLeftEventHandler != null)
1637 this.ActionPageLeftSignal().Disconnect(_accessibilityManagerActionPageLeftEventCallbackDelegate);
1640 _accessibilityManagerActionPageLeftEventHandler -= value;
1645 // Callback for AccessibilityManager ActionPageLeftSignal
1646 private bool OnActionPageLeft(IntPtr data)
1648 ActionPageLeftEventArgs e = new ActionPageLeftEventArgs();
1650 // Populate all members of "e" (ActionPageLeftEventArgs) with real data
1651 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1653 if (_accessibilityManagerActionPageLeftEventHandler != null)
1655 //here we send all data to user event handlers
1656 return _accessibilityManagerActionPageLeftEventHandler(this, e);
1661 public event DaliEventHandlerWithReturnType<object, ActionPageRightEventArgs, bool> ActionPageRight
1667 // Restricted to only one listener
1668 if (_accessibilityManagerActionPageRightEventHandler == null)
1670 _accessibilityManagerActionPageRightEventHandler += value;
1672 _accessibilityManagerActionPageRightEventCallbackDelegate = new ActionPageRightEventCallbackDelegate(OnActionPageRight);
1673 this.ActionPageRightSignal().Connect(_accessibilityManagerActionPageRightEventCallbackDelegate);
1682 if (_accessibilityManagerActionPageRightEventHandler != null)
1684 this.ActionPageRightSignal().Disconnect(_accessibilityManagerActionPageRightEventCallbackDelegate);
1687 _accessibilityManagerActionPageRightEventHandler -= value;
1692 // Callback for AccessibilityManager ActionPageRightSignal
1693 private bool OnActionPageRight(IntPtr data)
1695 ActionPageRightEventArgs e = new ActionPageRightEventArgs();
1697 // Populate all members of "e" (ActionPageRightEventArgs) with real data
1698 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1700 if (_accessibilityManagerActionPageRightEventHandler != null)
1702 //here we send all data to user event handlers
1703 return _accessibilityManagerActionPageRightEventHandler(this, e);
1708 public event DaliEventHandlerWithReturnType<object, ActionPageUpEventArgs, bool> ActionPageUp
1714 // Restricted to only one listener
1715 if (_accessibilityManagerActionPageUpEventHandler == null)
1717 _accessibilityManagerActionPageUpEventHandler += value;
1719 _accessibilityManagerActionPageUpEventCallbackDelegate = new ActionPageUpEventCallbackDelegate(OnActionPageUp);
1720 this.ActionPageUpSignal().Connect(_accessibilityManagerActionPageUpEventCallbackDelegate);
1729 if (_accessibilityManagerActionPageUpEventHandler != null)
1731 this.ActionPageUpSignal().Disconnect(_accessibilityManagerActionPageUpEventCallbackDelegate);
1734 _accessibilityManagerActionPageUpEventHandler -= value;
1739 // Callback for AccessibilityManager ActionPageUpSignal
1740 private bool OnActionPageUp(IntPtr data)
1742 ActionPageUpEventArgs e = new ActionPageUpEventArgs();
1744 // Populate all members of "e" (ActionPageUpEventArgs) with real data
1745 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1747 if (_accessibilityManagerActionPageUpEventHandler != null)
1749 //here we send all data to user event handlers
1750 return _accessibilityManagerActionPageUpEventHandler(this, e);
1756 public event DaliEventHandlerWithReturnType<object, ActionPageDownEventArgs, bool> ActionPageDown
1762 // Restricted to only one listener
1763 if (_accessibilityManagerActionPageDownEventHandler == null)
1765 _accessibilityManagerActionPageDownEventHandler += value;
1767 _accessibilityManagerActionPageDownEventCallbackDelegate = new ActionPageDownEventCallbackDelegate(OnActionPageDown);
1768 this.ActionPageDownSignal().Connect(_accessibilityManagerActionPageDownEventCallbackDelegate);
1777 if (_accessibilityManagerActionPageDownEventHandler != null)
1779 this.ActionPageDownSignal().Disconnect(_accessibilityManagerActionPageDownEventCallbackDelegate);
1782 _accessibilityManagerActionPageDownEventHandler -= value;
1787 // Callback for AccessibilityManager ActionPageDownSignal
1788 private bool OnActionPageDown(IntPtr data)
1790 ActionPageDownEventArgs e = new ActionPageDownEventArgs();
1792 // Populate all members of "e" (ActionPageDownEventArgs) with real data
1793 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1795 if (_accessibilityManagerActionPageDownEventHandler != null)
1797 //here we send all data to user event handlers
1798 return _accessibilityManagerActionPageDownEventHandler(this, e);
1804 public event DaliEventHandlerWithReturnType<object, ActionMoveToFirstEventArgs, bool> ActionMoveToFirst
1810 // Restricted to only one listener
1811 if (_accessibilityManagerActionMoveToFirstEventHandler == null)
1813 _accessibilityManagerActionMoveToFirstEventHandler += value;
1815 _accessibilityManagerActionMoveToFirstEventCallbackDelegate = new ActionMoveToFirstEventCallbackDelegate(OnActionMoveToFirst);
1816 this.ActionMoveToFirstSignal().Connect(_accessibilityManagerActionMoveToFirstEventCallbackDelegate);
1825 if (_accessibilityManagerActionMoveToFirstEventHandler != null)
1827 this.ActionMoveToFirstSignal().Disconnect(_accessibilityManagerActionMoveToFirstEventCallbackDelegate);
1830 _accessibilityManagerActionMoveToFirstEventHandler -= value;
1835 // Callback for AccessibilityManager ActionMoveToFirstSignal
1836 private bool OnActionMoveToFirst(IntPtr data)
1838 ActionMoveToFirstEventArgs e = new ActionMoveToFirstEventArgs();
1840 // Populate all members of "e" (ActionMoveToFirstEventArgs) with real data
1841 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1843 if (_accessibilityManagerActionMoveToFirstEventHandler != null)
1845 //here we send all data to user event handlers
1846 return _accessibilityManagerActionMoveToFirstEventHandler(this, e);
1851 public event DaliEventHandlerWithReturnType<object, ActionMoveToLastEventArgs, bool> ActionMoveToLast
1857 // Restricted to only one listener
1858 if (_accessibilityManagerActionMoveToLastEventHandler == null)
1860 _accessibilityManagerActionMoveToLastEventHandler += value;
1862 _accessibilityManagerActionMoveToLastEventCallbackDelegate = new ActionMoveToLastEventCallbackDelegate(OnActionMoveToLast);
1863 this.ActionMoveToLastSignal().Connect(_accessibilityManagerActionMoveToLastEventCallbackDelegate);
1872 if (_accessibilityManagerActionMoveToLastEventHandler != null)
1874 this.ActionMoveToLastSignal().Disconnect(_accessibilityManagerActionMoveToLastEventCallbackDelegate);
1877 _accessibilityManagerActionMoveToLastEventHandler -= value;
1882 // Callback for AccessibilityManager ActionMoveToLastSignal
1883 private bool OnActionMoveToLast(IntPtr data)
1885 ActionMoveToLastEventArgs e = new ActionMoveToLastEventArgs();
1887 // Populate all members of "e" (ActionMoveToLastEventArgs) with real data
1888 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1890 if (_accessibilityManagerActionMoveToLastEventHandler != null)
1892 //here we send all data to user event handlers
1893 return _accessibilityManagerActionMoveToLastEventHandler(this, e);
1898 public event DaliEventHandlerWithReturnType<object, ActionReadFromTopEventArgs, bool> ActionReadFromTop
1904 // Restricted to only one listener
1905 if (_accessibilityManagerActionReadFromTopEventHandler == null)
1907 _accessibilityManagerActionReadFromTopEventHandler += value;
1909 _accessibilityManagerActionReadFromTopEventCallbackDelegate = new ActionReadFromTopEventCallbackDelegate(OnActionReadFromTop);
1910 this.ActionReadFromTopSignal().Connect(_accessibilityManagerActionReadFromTopEventCallbackDelegate);
1919 if (_accessibilityManagerActionReadFromTopEventHandler != null)
1921 this.ActionReadFromTopSignal().Disconnect(_accessibilityManagerActionReadFromTopEventCallbackDelegate);
1924 _accessibilityManagerActionReadFromTopEventHandler -= value;
1929 // Callback for AccessibilityManager ActionReadFromTopSignal
1930 private bool OnActionReadFromTop(IntPtr data)
1932 ActionReadFromTopEventArgs e = new ActionReadFromTopEventArgs();
1934 // Populate all members of "e" (ActionReadFromTopEventArgs) with real data
1935 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1937 if (_accessibilityManagerActionReadFromTopEventHandler != null)
1939 //here we send all data to user event handlers
1940 return _accessibilityManagerActionReadFromTopEventHandler(this, e);
1945 public event DaliEventHandlerWithReturnType<object, ActionReadFromNextEventArgs, bool> ActionReadFromNext
1951 // Restricted to only one listener
1952 if (_accessibilityManagerActionReadFromNextEventHandler == null)
1954 _accessibilityManagerActionReadFromNextEventHandler += value;
1956 _accessibilityManagerActionReadFromNextEventCallbackDelegate = new ActionReadFromNextEventCallbackDelegate(OnActionReadFromNext);
1957 this.ActionReadFromNextSignal().Connect(_accessibilityManagerActionReadFromNextEventCallbackDelegate);
1966 if (_accessibilityManagerActionReadFromNextEventHandler != null)
1968 this.ActionReadFromNextSignal().Disconnect(_accessibilityManagerActionReadFromNextEventCallbackDelegate);
1971 _accessibilityManagerActionReadFromNextEventHandler -= value;
1976 // Callback for AccessibilityManager ActionReadFromNextSignal
1977 private bool OnActionReadFromNext(IntPtr data)
1979 ActionReadFromNextEventArgs e = new ActionReadFromNextEventArgs();
1981 // Populate all members of "e" (ActionReadFromNextEventArgs) with real data
1982 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1984 if (_accessibilityManagerActionReadFromNextEventHandler != null)
1986 //here we send all data to user event handlers
1987 return _accessibilityManagerActionReadFromNextEventHandler(this, e);
1992 public event DaliEventHandlerWithReturnType<object, ActionZoomEventArgs, bool> ActionZoom
1998 // Restricted to only one listener
1999 if (_accessibilityManagerActionZoomEventHandler == null)
2001 _accessibilityManagerActionZoomEventHandler += value;
2003 _accessibilityManagerActionZoomEventCallbackDelegate = new ActionZoomEventCallbackDelegate(OnActionZoom);
2004 this.ActionZoomSignal().Connect(_accessibilityManagerActionZoomEventCallbackDelegate);
2013 if (_accessibilityManagerActionZoomEventHandler != null)
2015 this.ActionZoomSignal().Disconnect(_accessibilityManagerActionZoomEventCallbackDelegate);
2018 _accessibilityManagerActionZoomEventHandler -= value;
2023 // Callback for AccessibilityManager ActionZoomSignal
2024 private bool OnActionZoom(IntPtr data)
2026 ActionZoomEventArgs e = new ActionZoomEventArgs();
2028 // Populate all members of "e" (ActionZoomEventArgs) with real data
2029 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
2031 if (_accessibilityManagerActionZoomEventHandler != null)
2033 //here we send all data to user event handlers
2034 return _accessibilityManagerActionZoomEventHandler(this, e);
2039 public event DaliEventHandlerWithReturnType<object, ActionReadIndicatorInformationEventArgs, bool> ActionReadIndicatorInformation
2045 // Restricted to only one listener
2046 if (_accessibilityManagerActionReadIndicatorInformationEventHandler == null)
2048 _accessibilityManagerActionReadIndicatorInformationEventHandler += value;
2050 _accessibilityManagerActionReadIndicatorInformationEventCallbackDelegate = new ActionReadIndicatorInformationEventCallbackDelegate(OnActionReadIndicatorInformation);
2051 this.ActionReadIndicatorInformationSignal().Connect(_accessibilityManagerActionReadIndicatorInformationEventCallbackDelegate);
2060 if (_accessibilityManagerActionReadIndicatorInformationEventHandler != null)
2062 this.ActionReadIndicatorInformationSignal().Disconnect(_accessibilityManagerActionReadIndicatorInformationEventCallbackDelegate);
2065 _accessibilityManagerActionReadIndicatorInformationEventHandler -= value;
2070 // Callback for AccessibilityManager ActionReadIndicatorInformationSignal
2071 private bool OnActionReadIndicatorInformation(IntPtr data)
2073 ActionReadIndicatorInformationEventArgs e = new ActionReadIndicatorInformationEventArgs();
2075 // Populate all members of "e" (ActionReadIndicatorInformationEventArgs) with real data
2076 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
2078 if (_accessibilityManagerActionReadIndicatorInformationEventHandler != null)
2080 //here we send all data to user event handlers
2081 return _accessibilityManagerActionReadIndicatorInformationEventHandler(this, e);
2086 public event DaliEventHandlerWithReturnType<object, ActionReadPauseResumeEventArgs, bool> ActionReadPauseResume
2092 // Restricted to only one listener
2093 if (_accessibilityManagerActionReadPauseResumeEventHandler == null)
2095 _accessibilityManagerActionReadPauseResumeEventHandler += value;
2097 _accessibilityManagerActionReadPauseResumeEventCallbackDelegate = new ActionReadPauseResumeEventCallbackDelegate(OnActionReadPauseResume);
2098 this.ActionReadPauseResumeSignal().Connect(_accessibilityManagerActionReadPauseResumeEventCallbackDelegate);
2107 if (_accessibilityManagerActionReadPauseResumeEventHandler != null)
2109 this.ActionReadPauseResumeSignal().Disconnect(_accessibilityManagerActionReadPauseResumeEventCallbackDelegate);
2112 _accessibilityManagerActionReadPauseResumeEventHandler -= value;
2117 // Callback for AccessibilityManager ActionReadPauseResumeSignal
2118 private bool OnActionReadPauseResume(IntPtr data)
2120 ActionReadPauseResumeEventArgs e = new ActionReadPauseResumeEventArgs();
2122 // Populate all members of "e" (ActionReadPauseResumeEventArgs) with real data
2123 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
2125 if (_accessibilityManagerActionReadPauseResumeEventHandler != null)
2127 //here we send all data to user event handlers
2128 return _accessibilityManagerActionReadPauseResumeEventHandler(this, e);
2133 public event DaliEventHandlerWithReturnType<object, ActionStartStopEventArgs, bool> ActionStartStop
2139 // Restricted to only one listener
2140 if (_accessibilityManagerActionStartStopEventHandler == null)
2142 _accessibilityManagerActionStartStopEventHandler += value;
2144 _accessibilityManagerActionStartStopEventCallbackDelegate = new ActionStartStopEventCallbackDelegate(OnActionStartStop);
2145 this.ActionStartStopSignal().Connect(_accessibilityManagerActionStartStopEventCallbackDelegate);
2154 if (_accessibilityManagerActionStartStopEventHandler != null)
2156 this.ActionStartStopSignal().Disconnect(_accessibilityManagerActionStartStopEventCallbackDelegate);
2159 _accessibilityManagerActionStartStopEventHandler -= value;
2164 // Callback for AccessibilityManager ActionStartStopSignal
2165 private bool OnActionStartStop(IntPtr data)
2167 ActionStartStopEventArgs e = new ActionStartStopEventArgs();
2169 // Populate all members of "e" (ActionStartStopEventArgs) with real data
2170 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
2172 if (_accessibilityManagerActionStartStopEventHandler != null)
2174 //here we send all data to user event handlers
2175 return _accessibilityManagerActionStartStopEventHandler(this, e);
2181 // To be replaced by a new event that takes Touch
2182 public event DaliEventHandlerWithReturnType<object,ActionScrollEventArgs,bool> ActionScroll
2188 // Restricted to only one listener
2189 if (_accessibilityManagerActionScrollEventHandler == null)
2191 _accessibilityManagerActionScrollEventHandler += value;
2193 _accessibilityManagerActionScrollEventCallbackDelegate = new ActionScrollEventCallbackDelegate(OnActionScroll);
2194 this.ActionScrollSignal().Connect(_accessibilityManagerActionScrollEventCallbackDelegate);
2203 if (_accessibilityManagerActionScrollEventHandler != null)
2205 this.ActionScrollSignal().Disconnect(_accessibilityManagerActionScrollEventCallbackDelegate);
2208 _accessibilityManagerActionScrollEventHandler -= value;
2213 // Callback for AccessibilityManager ActionScrollSignal
2214 private bool OnActionScroll(IntPtr accessibilityManager, IntPtr touchEvent)
2216 ActionScrollEventArgs e = new ActionScrollEventArgs();
2218 // Populate all members of "e" (ActionScrollEventArgs) with real data
2219 e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(accessibilityManager);
2220 e.TouchEvent = TouchEvent.GetTouchEventFromPtr(touchEvent);
2222 if (_accessibilityManagerActionScrollEventHandler != null)
2224 //here we send all data to user event handlers
2225 return _accessibilityManagerActionScrollEventHandler(this, e);
2231 public event DaliEventHandler<object, FocusChangedEventArgs> FocusChanged
2237 // Restricted to only one listener
2238 if (_accessibilityManagerFocusChangedEventHandler == null)
2240 _accessibilityManagerFocusChangedEventHandler += value;
2242 _accessibilityManagerFocusChangedEventCallbackDelegate = new FocusChangedEventCallbackDelegate(OnFocusChanged);
2243 this.FocusChangedSignal().Connect(_accessibilityManagerFocusChangedEventCallbackDelegate);
2252 if (_accessibilityManagerFocusChangedEventHandler != null)
2254 this.FocusChangedSignal().Disconnect(_accessibilityManagerFocusChangedEventCallbackDelegate);
2257 _accessibilityManagerFocusChangedEventHandler -= value;
2262 // Callback for AccessibilityManager FocusChangedSignal
2263 private void OnFocusChanged(IntPtr view1, IntPtr view2)
2265 FocusChangedEventArgs e = new FocusChangedEventArgs();
2267 // Populate all members of "e" (FocusChangedEventArgs) with real data
2268 e.ViewCurrent = Registry.GetManagedBaseHandleFromNativePtr(view1) as View;
2269 e.ViewNext = Registry.GetManagedBaseHandleFromNativePtr(view2) as View;
2271 if (_accessibilityManagerFocusChangedEventHandler != null)
2273 //here we send all data to user event handlers
2274 _accessibilityManagerFocusChangedEventHandler(this, e);
2278 public event DaliEventHandler<object, FocusedViewActivatedEventArgs> FocusedViewActivated
2284 // Restricted to only one listener
2285 if (_accessibilityManagerFocusedViewActivatedEventHandler == null)
2287 _accessibilityManagerFocusedViewActivatedEventHandler += value;
2289 _accessibilityManagerFocusedViewActivatedEventCallbackDelegate = new FocusedViewActivatedEventCallbackDelegate(OnFocusedViewActivated);
2290 this.FocusedViewActivatedSignal().Connect(_accessibilityManagerFocusedViewActivatedEventCallbackDelegate);
2299 if (_accessibilityManagerFocusedViewActivatedEventHandler != null)
2301 this.FocusedViewActivatedSignal().Disconnect(_accessibilityManagerFocusedViewActivatedEventCallbackDelegate);
2304 _accessibilityManagerFocusedViewActivatedEventHandler -= value;
2309 // Callback for AccessibilityManager FocusedViewActivatedSignal
2310 private void OnFocusedViewActivated(IntPtr view)
2312 FocusedViewActivatedEventArgs e = new FocusedViewActivatedEventArgs();
2314 // Populate all members of "e" (FocusedViewActivatedEventArgs) with real data
2315 e.View = Registry.GetManagedBaseHandleFromNativePtr(view) as View;
2317 if (_accessibilityManagerFocusedViewActivatedEventHandler != null)
2319 //here we send all data to user event handlers
2320 _accessibilityManagerFocusedViewActivatedEventHandler(this, e);
2325 public event DaliEventHandler<object, FocusOvershotEventArgs> FocusOvershot
2331 // Restricted to only one listener
2332 if (_accessibilityManagerFocusOvershotEventHandler == null)
2334 _accessibilityManagerFocusOvershotEventHandler += value;
2336 _accessibilityManagerFocusOvershotEventCallbackDelegate = new FocusOvershotEventCallbackDelegate(OnFocusOvershot);
2337 this.FocusOvershotSignal().Connect(_accessibilityManagerFocusOvershotEventCallbackDelegate);
2346 if (_accessibilityManagerFocusOvershotEventHandler != null)
2348 this.FocusOvershotSignal().Disconnect(_accessibilityManagerFocusOvershotEventCallbackDelegate);
2351 _accessibilityManagerFocusOvershotEventHandler -= value;
2356 // Callback for AccessibilityManager FocusOvershotSignal
2357 private void OnFocusOvershot(IntPtr currentFocusedView, AccessibilityManager.FocusOvershotDirection direction)
2359 FocusOvershotEventArgs e = new FocusOvershotEventArgs();
2361 // Populate all members of "e" (FocusOvershotEventArgs) with real data
2362 e.CurrentFocusedView = Registry.GetManagedBaseHandleFromNativePtr(currentFocusedView) as View;
2363 e.FocusOvershotDirection = direction;
2365 if (_accessibilityManagerFocusOvershotEventHandler != null)
2367 //here we send all data to user event handlers
2368 _accessibilityManagerFocusOvershotEventHandler(this, e);
2373 public static AccessibilityManager GetAccessibilityManagerFromPtr(global::System.IntPtr cPtr)
2375 AccessibilityManager ret = new AccessibilityManager(cPtr, false);
2376 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2381 public AccessibilityManager() : this(NDalicPINVOKE.new_AccessibilityManager(), true)
2383 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2386 public static AccessibilityManager Get()
2388 AccessibilityManager ret = new AccessibilityManager(NDalicPINVOKE.AccessibilityManager_Get(), true);
2389 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2393 public void SetAccessibilityAttribute(View view, AccessibilityManager.AccessibilityAttribute type, string text)
2395 NDalicPINVOKE.AccessibilityManager_SetAccessibilityAttribute(swigCPtr, View.getCPtr(view), (int)type, text);
2396 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2399 public string GetAccessibilityAttribute(View view, AccessibilityManager.AccessibilityAttribute type)
2401 string ret = NDalicPINVOKE.AccessibilityManager_GetAccessibilityAttribute(swigCPtr, View.getCPtr(view), (int)type);
2402 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2406 public void SetFocusOrder(View view, uint order)
2408 NDalicPINVOKE.AccessibilityManager_SetFocusOrder(swigCPtr, View.getCPtr(view), order);
2409 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2412 public uint GetFocusOrder(View view)
2414 uint ret = NDalicPINVOKE.AccessibilityManager_GetFocusOrder(swigCPtr, View.getCPtr(view));
2415 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2419 public uint GenerateNewFocusOrder()
2421 uint ret = NDalicPINVOKE.AccessibilityManager_GenerateNewFocusOrder(swigCPtr);
2422 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2426 public View GetViewByFocusOrder(uint order)
2428 View ret = new View(NDalicPINVOKE.AccessibilityManager_GetActorByFocusOrder(swigCPtr, order), true);
2429 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2433 public bool SetCurrentFocusView(View view)
2435 bool ret = NDalicPINVOKE.AccessibilityManager_SetCurrentFocusActor(swigCPtr, View.getCPtr(view));
2436 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2440 public View GetCurrentFocusView()
2442 View ret = new View(NDalicPINVOKE.AccessibilityManager_GetCurrentFocusActor(swigCPtr), true);
2443 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2447 public View GetCurrentFocusGroup()
2449 View ret = new View(NDalicPINVOKE.AccessibilityManager_GetCurrentFocusGroup(swigCPtr), true);
2450 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2454 public uint GetCurrentFocusOrder()
2456 uint ret = NDalicPINVOKE.AccessibilityManager_GetCurrentFocusOrder(swigCPtr);
2457 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2461 public bool MoveFocusForward()
2463 bool ret = NDalicPINVOKE.AccessibilityManager_MoveFocusForward(swigCPtr);
2464 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2468 public bool MoveFocusBackward()
2470 bool ret = NDalicPINVOKE.AccessibilityManager_MoveFocusBackward(swigCPtr);
2471 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2475 public void ClearFocus()
2477 NDalicPINVOKE.AccessibilityManager_ClearFocus(swigCPtr);
2478 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2481 public new void Reset()
2483 NDalicPINVOKE.AccessibilityManager_Reset(swigCPtr);
2484 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2487 public void SetFocusGroup(View view, bool isFocusGroup)
2489 NDalicPINVOKE.AccessibilityManager_SetFocusGroup(swigCPtr, View.getCPtr(view), isFocusGroup);
2490 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2493 public bool IsFocusGroup(View view)
2495 bool ret = NDalicPINVOKE.AccessibilityManager_IsFocusGroup(swigCPtr, View.getCPtr(view));
2496 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2500 public void SetGroupMode(bool enabled)
2502 NDalicPINVOKE.AccessibilityManager_SetGroupMode(swigCPtr, enabled);
2503 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2506 public bool GetGroupMode()
2508 bool ret = NDalicPINVOKE.AccessibilityManager_GetGroupMode(swigCPtr);
2509 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2513 public void SetWrapMode(bool wrapped)
2515 NDalicPINVOKE.AccessibilityManager_SetWrapMode(swigCPtr, wrapped);
2516 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2519 public bool GetWrapMode()
2521 bool ret = NDalicPINVOKE.AccessibilityManager_GetWrapMode(swigCPtr);
2522 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2526 public void SetFocusIndicatorView(View indicator)
2528 NDalicPINVOKE.AccessibilityManager_SetFocusIndicatorActor(swigCPtr, View.getCPtr(indicator));
2529 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2532 public View GetFocusIndicatorView()
2534 View ret = new View(NDalicPINVOKE.AccessibilityManager_GetFocusIndicatorActor(swigCPtr), true);
2535 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2539 public View GetFocusGroup(View view)
2541 View ret = new View(NDalicPINVOKE.AccessibilityManager_GetFocusGroup(swigCPtr, View.getCPtr(view)), true);
2542 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2546 public Vector2 GetReadPosition()
2548 Vector2 ret = new Vector2(NDalicPINVOKE.AccessibilityManager_GetReadPosition(swigCPtr), true);
2549 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2553 public FocusChangedSignal FocusChangedSignal()
2555 FocusChangedSignal ret = new FocusChangedSignal(NDalicPINVOKE.AccessibilityManager_FocusChangedSignal(swigCPtr), false);
2556 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2560 public AccessibilityFocusOvershotSignal FocusOvershotSignal()
2562 AccessibilityFocusOvershotSignal ret = new AccessibilityFocusOvershotSignal(NDalicPINVOKE.AccessibilityManager_FocusOvershotSignal(swigCPtr), false);
2563 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2567 public ViewSignal FocusedViewActivatedSignal()
2569 ViewSignal ret = new ViewSignal(NDalicPINVOKE.AccessibilityManager_FocusedActorActivatedSignal(swigCPtr), false);
2570 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2574 public AccessibilityActionSignal StatusChangedSignal()
2576 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_StatusChangedSignal(swigCPtr), false);
2577 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2581 public AccessibilityActionSignal ActionNextSignal()
2583 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionNextSignal(swigCPtr), false);
2584 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2588 public AccessibilityActionSignal ActionPreviousSignal()
2590 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionPreviousSignal(swigCPtr), false);
2591 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2595 public AccessibilityActionSignal ActionActivateSignal()
2597 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionActivateSignal(swigCPtr), false);
2598 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2602 public AccessibilityActionSignal ActionReadSignal()
2604 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionReadSignal(swigCPtr), false);
2605 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2609 public AccessibilityActionSignal ActionOverSignal()
2611 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionOverSignal(swigCPtr), false);
2612 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2616 public AccessibilityActionSignal ActionReadNextSignal()
2618 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionReadNextSignal(swigCPtr), false);
2619 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2623 public AccessibilityActionSignal ActionReadPreviousSignal()
2625 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionReadPreviousSignal(swigCPtr), false);
2626 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2630 public AccessibilityActionSignal ActionUpSignal()
2632 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionUpSignal(swigCPtr), false);
2633 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2637 public AccessibilityActionSignal ActionDownSignal()
2639 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionDownSignal(swigCPtr), false);
2640 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2644 public AccessibilityActionSignal ActionClearFocusSignal()
2646 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionClearFocusSignal(swigCPtr), false);
2647 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2651 public AccessibilityActionSignal ActionBackSignal()
2653 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionBackSignal(swigCPtr), false);
2654 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2658 public AccessibilityActionSignal ActionScrollUpSignal()
2660 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionScrollUpSignal(swigCPtr), false);
2661 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2665 public AccessibilityActionSignal ActionScrollDownSignal()
2667 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionScrollDownSignal(swigCPtr), false);
2668 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2672 public AccessibilityActionSignal ActionPageLeftSignal()
2674 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionPageLeftSignal(swigCPtr), false);
2675 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2679 public AccessibilityActionSignal ActionPageRightSignal()
2681 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionPageRightSignal(swigCPtr), false);
2682 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2686 public AccessibilityActionSignal ActionPageUpSignal()
2688 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionPageUpSignal(swigCPtr), false);
2689 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2693 public AccessibilityActionSignal ActionPageDownSignal()
2695 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionPageDownSignal(swigCPtr), false);
2696 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2700 public AccessibilityActionSignal ActionMoveToFirstSignal()
2702 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionMoveToFirstSignal(swigCPtr), false);
2703 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2707 public AccessibilityActionSignal ActionMoveToLastSignal()
2709 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionMoveToLastSignal(swigCPtr), false);
2710 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2714 public AccessibilityActionSignal ActionReadFromTopSignal()
2716 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionReadFromTopSignal(swigCPtr), false);
2717 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2721 public AccessibilityActionSignal ActionReadFromNextSignal()
2723 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionReadFromNextSignal(swigCPtr), false);
2724 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2728 public AccessibilityActionSignal ActionZoomSignal()
2730 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionZoomSignal(swigCPtr), false);
2731 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2735 public AccessibilityActionSignal ActionReadIndicatorInformationSignal()
2737 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionReadIndicatorInformationSignal(swigCPtr), false);
2738 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2742 public AccessibilityActionSignal ActionReadPauseResumeSignal()
2744 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionReadPauseResumeSignal(swigCPtr), false);
2745 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2749 public AccessibilityActionSignal ActionStartStopSignal()
2751 AccessibilityActionSignal ret = new AccessibilityActionSignal(NDalicPINVOKE.AccessibilityManager_ActionStartStopSignal(swigCPtr), false);
2752 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2756 public SWIGTYPE_p_Dali__SignalT_bool_fDali__Toolkit__AccessibilityManager_R_Dali__TouchEvent_const_RF_t ActionScrollSignal()
2758 SWIGTYPE_p_Dali__SignalT_bool_fDali__Toolkit__AccessibilityManager_R_Dali__TouchEvent_const_RF_t ret = new SWIGTYPE_p_Dali__SignalT_bool_fDali__Toolkit__AccessibilityManager_R_Dali__TouchEvent_const_RF_t(NDalicPINVOKE.AccessibilityManager_ActionScrollSignal(swigCPtr), false);
2759 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2763 /// <since_tizen> 3 </since_tizen>
2764 public enum AccessibilityAttribute
2766 ACCESSIBILITY_LABEL = 0,
2767 ACCESSIBILITY_TRAIT,
2768 ACCESSIBILITY_VALUE,
2770 ACCESSIBILITY_ATTRIBUTE_NUM
2773 /// <since_tizen> 3 </since_tizen>
2774 public enum FocusOvershotDirection
2776 OVERSHOT_PREVIOUS = -1,