[NUI] Check whether Accessibility is enabled intentionally
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Accessibility / AccessibilityManager.cs
1 /*
2  * Copyright(c) 2020 Samsung Electronics Co., Ltd.
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  *
16  */
17 using System;
18 using System.ComponentModel;
19 using Tizen.NUI.BaseComponents;
20
21 namespace Tizen.NUI.Accessibility
22 {
23     /// <summary>
24     /// AccessibilityManager manages registration of views in an accessibility focus chain and changing the focused view within that chain.
25     /// This class provides the functionality of registering the focus order and description of views and maintaining the focus chain.
26     /// It provides functionality of setting the focus and moving the focus forward and backward.
27     ///  It also draws a highlight for the focused view and emits a signal when the focus is changed.
28     /// </summary>
29     /// <since_tizen> 6 </since_tizen>
30     /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
31     [EditorBrowsable(EditorBrowsableState.Never)]
32     public partial class AccessibilityManager : BaseHandle
33     {
34         private static readonly AccessibilityManager instance = AccessibilityManager.Get();
35         private bool isForced = false;
36
37         internal AccessibilityManager(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.AccessibilityManager.AccessibilityManager_SWIGUpcast(cPtr), cMemoryOwn)
38         {
39         }
40
41         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AccessibilityManager obj)
42         {
43             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
44         }
45
46         /// This will not be public opened.
47         [EditorBrowsable(EditorBrowsableState.Never)]
48         protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
49         {
50             Interop.AccessibilityManager.delete_AccessibilityManager(swigCPtr);
51         }
52
53         // Callback for AccessibilityManager StatusChangedSignal
54         private bool OnStatusChanged(IntPtr data)
55         {
56             if (_accessibilityManagerStatusChangedEventHandler != null)
57             {
58                 //here we send all data to user event handlers
59                 return _accessibilityManagerStatusChangedEventHandler(instance, null);
60             }
61             return false;
62         }
63
64         // Callback for AccessibilityManager ActionNextSignal
65         private bool OnActionNext(IntPtr data)
66         {
67             if (_accessibilityManagerActionNextEventHandler != null)
68             {
69                 //here we send all data to user event handlers
70                 return _accessibilityManagerActionNextEventHandler(instance, null);
71             }
72             return false;
73         }
74
75         // Callback for AccessibilityManager ActionPreviousSignal
76         private bool OnActionPrevious(IntPtr data)
77         {
78             if (_accessibilityManagerActionPreviousEventHandler != null)
79             {
80                 //here we send all data to user event handlers
81                 return _accessibilityManagerActionPreviousEventHandler(instance, null);
82             }
83             return false;
84         }
85
86         // Callback for AccessibilityManager ActionActivateSignal
87         private bool OnActionActivate(IntPtr data)
88         {
89             if (_accessibilityManagerActionActivateEventHandler != null)
90             {
91                 //here we send all data to user event handlers
92                 return _accessibilityManagerActionActivateEventHandler(instance, null);
93             }
94             return false;
95         }
96
97         // Callback for AccessibilityManager ActionReadSignal
98         private bool OnActionRead(IntPtr data)
99         {
100
101             if (_accessibilityManagerActionReadEventHandler != null)
102             {
103                 //here we send all data to user event handlers
104                 return _accessibilityManagerActionReadEventHandler(instance, null);
105             }
106             return false;
107         }
108
109         // Callback for AccessibilityManager ActionOverSignal
110         private bool OnActionOver(IntPtr data)
111         {
112             if (_accessibilityManagerActionOverEventHandler != null)
113             {
114                 //here we send all data to user event handlers
115                 return _accessibilityManagerActionOverEventHandler(instance, null);
116             }
117             return false;
118         }
119
120         // Callback for AccessibilityManager ActionReadNextSignal
121         private bool OnActionReadNext(IntPtr data)
122         {
123             if (_accessibilityManagerActionReadNextEventHandler != null)
124             {
125                 //here we send all data to user event handlers
126                 return _accessibilityManagerActionReadNextEventHandler(instance, null);
127             }
128             return false;
129         }
130
131         // Callback for AccessibilityManager ActionReadPreviousSignal
132         private bool OnActionReadPrevious(IntPtr data)
133         {
134             if (_accessibilityManagerActionReadPreviousEventHandler != null)
135             {
136                 //here we send all data to user event handlers
137                 return _accessibilityManagerActionReadPreviousEventHandler(instance, null);
138             }
139             return false;
140         }
141
142         // Callback for AccessibilityManager ActionUpSignal
143         private bool OnActionUp(IntPtr data)
144         {
145             if (_accessibilityManagerActionUpEventHandler != null)
146             {
147                 //here we send all data to user event handlers
148                 return _accessibilityManagerActionUpEventHandler(instance, null);
149             }
150             return false;
151         }
152
153         // Callback for AccessibilityManager ActionDownSignal
154         private bool OnActionDown(IntPtr data)
155         {
156             if (_accessibilityManagerActionDownEventHandler != null)
157             {
158                 //here we send all data to user event handlers
159                 return _accessibilityManagerActionDownEventHandler(instance, null);
160             }
161             return false;
162         }
163
164         // Callback for AccessibilityManager ActionClearFocusSignal
165         private bool OnActionClearFocus(IntPtr data)
166         {
167             if (_accessibilityManagerActionClearFocusEventHandler != null)
168             {
169                 //here we send all data to user event handlers
170                 return _accessibilityManagerActionClearFocusEventHandler(instance, null);
171             }
172             return false;
173         }
174
175         // Callback for AccessibilityManager ActionBackSignal
176         private bool OnActionBack(IntPtr data)
177         {
178             if (_accessibilityManagerActionBackEventHandler != null)
179             {
180                 //here we send all data to user event handlers
181                 return _accessibilityManagerActionBackEventHandler(instance, null);
182             }
183             return false;
184         }
185
186         // Callback for AccessibilityManager ActionScrollUpSignal
187         private bool OnActionScrollUp(IntPtr data)
188         {
189             if (_accessibilityManagerActionScrollUpEventHandler != null)
190             {
191                 //here we send all data to user event handlers
192                 return _accessibilityManagerActionScrollUpEventHandler(instance, null);
193             }
194             return false;
195         }
196
197         // Callback for AccessibilityManager ActionScrollDownSignal
198         private bool OnActionScrollDown(IntPtr data)
199         {
200             if (_accessibilityManagerActionScrollDownEventHandler != null)
201             {
202                 //here we send all data to user event handlers
203                 return _accessibilityManagerActionScrollDownEventHandler(instance, null);
204             }
205             return false;
206         }
207
208         // Callback for AccessibilityManager ActionPageLeftSignal
209         private bool OnActionPageLeft(IntPtr data)
210         {
211             if (_accessibilityManagerActionPageLeftEventHandler != null)
212             {
213                 //here we send all data to user event handlers
214                 return _accessibilityManagerActionPageLeftEventHandler(instance, null);
215             }
216             return false;
217         }
218
219         // Callback for AccessibilityManager ActionPageRightSignal
220         private bool OnActionPageRight(IntPtr data)
221         {
222             if (_accessibilityManagerActionPageRightEventHandler != null)
223             {
224                 //here we send all data to user event handlers
225                 return _accessibilityManagerActionPageRightEventHandler(instance, null);
226             }
227             return false;
228         }
229
230         // Callback for AccessibilityManager ActionPageUpSignal
231         private bool OnActionPageUp(IntPtr data)
232         {
233             if (_accessibilityManagerActionPageUpEventHandler != null)
234             {
235                 //here we send all data to user event handlers
236                 return _accessibilityManagerActionPageUpEventHandler(instance, null);
237             }
238             return false;
239         }
240
241
242         // Callback for AccessibilityManager ActionPageDownSignal
243         private bool OnActionPageDown(IntPtr data)
244         {
245             if (_accessibilityManagerActionPageDownEventHandler != null)
246             {
247                 //here we send all data to user event handlers
248                 return _accessibilityManagerActionPageDownEventHandler(instance, null);
249             }
250             return false;
251         }
252
253
254         // Callback for AccessibilityManager ActionMoveToFirstSignal
255         private bool OnActionMoveToFirst(IntPtr data)
256         {
257             if (_accessibilityManagerActionMoveToFirstEventHandler != null)
258             {
259                 //here we send all data to user event handlers
260                 return _accessibilityManagerActionMoveToFirstEventHandler(instance, null);
261             }
262             return false;
263         }
264
265         // Callback for AccessibilityManager ActionMoveToLastSignal
266         private bool OnActionMoveToLast(IntPtr data)
267         {
268             if (_accessibilityManagerActionMoveToLastEventHandler != null)
269             {
270                 //here we send all data to user event handlers
271                 return _accessibilityManagerActionMoveToLastEventHandler(instance, null);
272             }
273             return false;
274         }
275
276         // Callback for AccessibilityManager ActionReadFromTopSignal
277         private bool OnActionReadFromTop(IntPtr data)
278         {
279             if (_accessibilityManagerActionReadFromTopEventHandler != null)
280             {
281                 //here we send all data to user event handlers
282                 return _accessibilityManagerActionReadFromTopEventHandler(instance, null);
283             }
284             return false;
285         }
286
287         // Callback for AccessibilityManager ActionReadFromNextSignal
288         private bool OnActionReadFromNext(IntPtr data)
289         {
290             if (_accessibilityManagerActionReadFromNextEventHandler != null)
291             {
292                 //here we send all data to user event handlers
293                 return _accessibilityManagerActionReadFromNextEventHandler(instance, null);
294             }
295             return false;
296         }
297
298         // Callback for AccessibilityManager ActionZoomSignal
299         private bool OnActionZoom(IntPtr data)
300         {
301             if (_accessibilityManagerActionZoomEventHandler != null)
302             {
303                 //here we send all data to user event handlers
304                 return _accessibilityManagerActionZoomEventHandler(instance, null);
305             }
306             return false;
307         }
308
309         // Callback for AccessibilityManager ActionReadPauseResumeSignal
310         private bool OnActionReadPauseResume(IntPtr data)
311         {
312             if (_accessibilityManagerActionReadPauseResumeEventHandler != null)
313             {
314                 //here we send all data to user event handlers
315                 return _accessibilityManagerActionReadPauseResumeEventHandler(instance, null);
316             }
317             return false;
318         }
319
320         // Callback for AccessibilityManager ActionStartStopSignal
321         private bool OnActionStartStop(IntPtr data)
322         {
323             if (_accessibilityManagerActionStartStopEventHandler != null)
324             {
325                 //here we send all data to user event handlers
326                 return _accessibilityManagerActionStartStopEventHandler(instance, null);
327             }
328             return false;
329         }
330
331         // Callback for AccessibilityManager FocusChangedSignal
332         private void OnFocusChanged(IntPtr view1, IntPtr view2)
333         {
334             FocusChangedEventArgs e = new FocusChangedEventArgs();
335
336             // Populate all members of "e" (FocusChangedEventArgs) with real data
337             e.ViewCurrent = Registry.GetManagedBaseHandleFromNativePtr(view1) as View;
338             e.ViewNext = Registry.GetManagedBaseHandleFromNativePtr(view2) as View;
339
340             if (_accessibilityManagerFocusChangedEventHandler != null)
341             {
342                 //here we send all data to user event handlers
343                 _accessibilityManagerFocusChangedEventHandler(this, e);
344             }
345         }
346
347         // Callback for AccessibilityManager FocusedViewActivatedSignal
348         private void OnFocusedViewActivated(IntPtr view)
349         {
350             FocusedViewActivatedEventArgs e = new FocusedViewActivatedEventArgs();
351
352             // Populate all members of "e" (FocusedViewActivatedEventArgs) with real data
353             e.View = Registry.GetManagedBaseHandleFromNativePtr(view) as View;
354
355             if (_accessibilityManagerFocusedViewActivatedEventHandler != null)
356             {
357                 //here we send all data to user event handlers
358                 _accessibilityManagerFocusedViewActivatedEventHandler(this, e);
359             }
360         }
361
362         // Callback for AccessibilityManager FocusOvershotSignal
363         private void OnFocusOvershot(IntPtr currentFocusedView, AccessibilityManager.FocusOvershotDirection direction)
364         {
365             FocusOvershotEventArgs e = new FocusOvershotEventArgs();
366
367             // Populate all members of "e" (FocusOvershotEventArgs) with real data
368             e.CurrentFocusedView = Registry.GetManagedBaseHandleFromNativePtr(currentFocusedView) as View;
369             e.FocusOvershotDirection = direction;
370
371             if (_accessibilityManagerFocusOvershotEventHandler != null)
372             {
373                 //here we send all data to user event handlers
374                 _accessibilityManagerFocusOvershotEventHandler(this, e);
375             }
376         }
377
378         /// <summary>
379         /// Enumeration for accessibility that needs four information which will be read by screen-reader.
380         ///
381         /// Reading order : Label -> Trait -> Optional (Value and Hint)
382         /// </summary>
383         /// <since_tizen> 6 </since_tizen>
384         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
385         [EditorBrowsable(EditorBrowsableState.Never)]
386         public enum AccessibilityAttribute
387         {
388             /// <summary>
389             /// Simple text which contained in components, such as Ok or Cancel in case of a button
390             /// </summary>
391             /// <since_tizen> 6 </since_tizen>
392             /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
393             [EditorBrowsable(EditorBrowsableState.Never)]
394             Label = 0,
395             /// <summary>
396             /// Description of components trait, such as Button in case of a button
397             /// </summary>
398             /// <since_tizen> 6 </since_tizen>
399             /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
400             [EditorBrowsable(EditorBrowsableState.Never)]
401             Trait,
402             /// <summary>
403             /// Current value of components (Optional)
404             /// </summary>
405             /// <since_tizen> 6 </since_tizen>
406             /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
407             [EditorBrowsable(EditorBrowsableState.Never)]
408             Value,
409             /// <summary>
410             /// Hint for action (Optional)
411             /// </summary>
412             /// <since_tizen> 6 </since_tizen>
413             /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
414             [EditorBrowsable(EditorBrowsableState.Never)]
415             Hint,
416             /// <summary>
417             /// The number of attributes
418             /// </summary>
419             /// <since_tizen> 6 </since_tizen>
420             /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
421             [EditorBrowsable(EditorBrowsableState.Never)]
422             AttributeNumber
423         }
424
425         /// <summary>
426         /// Enumeration for overshoot direction.
427         /// </summary>
428         /// <since_tizen> 6 </since_tizen>
429         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
430         [EditorBrowsable(EditorBrowsableState.Never)]
431         public enum FocusOvershotDirection
432         {
433             /// <summary>
434             /// Try to move previous of the first view
435             /// </summary>
436             /// <since_tizen> 6 </since_tizen>
437             /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
438             [EditorBrowsable(EditorBrowsableState.Never)]
439             Previous = -1,
440             /// <summary>
441             /// Try to move next of the last view
442             /// </summary>
443             /// <since_tizen> 6 </since_tizen>
444             /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
445             [EditorBrowsable(EditorBrowsableState.Never)]
446             Next = 1
447         }
448
449
450         /// <summary>
451         /// Creates an AccessibilityManager handle.
452         /// </summary>
453         /// <since_tizen> 6 </since_tizen>
454         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
455         [EditorBrowsable(EditorBrowsableState.Never)]
456         public AccessibilityManager() : this(Interop.AccessibilityManager.new_AccessibilityManager(), true)
457         {
458             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
459         }
460
461         /// <summary>
462         /// Gets the singleton of AccessibilityManager object.
463         /// </summary>
464         /// <returns> A handle to the AccessibilityManager </returns>
465         /// <since_tizen> 6 </since_tizen>
466         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
467         [EditorBrowsable(EditorBrowsableState.Never)]
468         public static AccessibilityManager Instance
469         {
470             get
471             {
472                 return instance;
473             }
474         }
475
476         /// <summary>
477         /// Sets the information of the specified view's accessibility attribute.
478         /// </summary>
479         /// <param name="view"> The view to be set with</param>
480         /// <param name="type"> The attribute type the text to be set with</param>
481         /// <param name="text"> The text for the view's accessibility information</param>
482         /// <since_tizen> 6 </since_tizen>
483         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
484         [EditorBrowsable(EditorBrowsableState.Never)]
485         public void SetAccessibilityAttribute(View view, AccessibilityManager.AccessibilityAttribute type, string text)
486         {
487             Interop.AccessibilityManager.AccessibilityManager_SetAccessibilityAttribute(swigCPtr, View.getCPtr(view), (int)type, text);
488             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
489         }
490         
491         /// <summary>
492         /// Delete the information of the specified view's accessibility attribute.
493         /// </summary>
494         /// <param name="view"> The view to delete</param>
495         /// This will be public opened after ACR done. Before ACR, need to be hidden as inhouse API.
496         [EditorBrowsable(EditorBrowsableState.Never)]
497         public void DeleteAccessibilityAttribute(View view)
498         {
499             Interop.AccessibilityManager.AccessibilityManager_DeleteAccessibilityAttribute(SwigCPtr, View.getCPtr(view));
500             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
501         }
502
503         /// <summary>
504         /// Gets the text of the specified view's accessibility attribute.
505         /// </summary>
506         /// <param name="view"> The view to be queried</param>
507         /// <param name="type"> The attribute type to be queried</param>
508         /// <returns> The text of the view's accessibility information </returns>
509         /// <since_tizen> 6 </since_tizen>
510         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
511         [EditorBrowsable(EditorBrowsableState.Never)]
512         public string GetAccessibilityAttribute(View view, AccessibilityManager.AccessibilityAttribute type)
513         {
514             string ret = Interop.AccessibilityManager.AccessibilityManager_GetAccessibilityAttribute(swigCPtr, View.getCPtr(view), (int)type);
515             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
516             return ret;
517         }
518
519         /// <summary>
520         /// Sets the focus order of the view.
521         /// The focus order of each view in the focus chain is unique.
522         /// If there is another view assigned with the same focus order already, the new view will be inserted to the focus chain with that focus order,
523         /// and the focus order of the original view and all the views followed in the focus chain will be increased accordingly.
524         /// If the focus order assigned to the view is 0, it means that view's focus order is undefined
525         /// (e.g. the view has a  description but with no focus order being set yet) and therefore that view is not focusable.
526         /// </summary>
527         /// <param name="view"> the view to be set with</param>
528         /// <param name="order"> the focus order to be set with</param>
529         /// <since_tizen> 6 </since_tizen>
530         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
531         [EditorBrowsable(EditorBrowsableState.Never)]
532         public void SetFocusOrder(View view, uint order)
533         {
534             Interop.AccessibilityManager.AccessibilityManager_SetFocusOrder(swigCPtr, View.getCPtr(view), order);
535             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
536         }
537
538         /// <summary>
539         /// Gets the focus order of the view.
540         /// When the focus order is 0, it means the focus order of the view is undefined.
541         /// </summary>
542         /// <param name="view"> the view to be set with</param>
543         /// <returns> The focus order of the view </returns>
544         /// <since_tizen> 6 </since_tizen>
545         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
546         [EditorBrowsable(EditorBrowsableState.Never)]
547         public uint GetFocusOrder(View view)
548         {
549             uint ret = Interop.AccessibilityManager.AccessibilityManager_GetFocusOrder(swigCPtr, View.getCPtr(view));
550             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
551             return ret;
552         }
553
554         /// <summary>
555         /// Generates a new focus order number which can be used to assign to views
556         /// which need to be appended to the end of the current focus order chain.
557         /// The new number will be an increment over the very last focus order number in the focus chain.
558         /// If the focus chain is empty then the function returns 1,
559         /// else the number returned will be FOLast + 1 where FOLast is the focus order of the very last control in the focus chain.
560         /// </summary>
561         /// <returns> The focus order of the view </returns>
562         /// <since_tizen> 6 </since_tizen>
563         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
564         [EditorBrowsable(EditorBrowsableState.Never)]
565         public uint GenerateNewFocusOrder()
566         {
567             uint ret = Interop.AccessibilityManager.AccessibilityManager_GenerateNewFocusOrder(swigCPtr);
568             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
569             return ret;
570         }
571
572         /// <summary>
573         /// Gets the view that has the specified focus order.
574         /// It will return an empty handle if no view in the window has the specified focus order.
575         /// </summary>
576         /// <param name="order"> The focus order of the view</param>
577         /// <returns> The view that has the specified focus order or an empty handle if no view in the stage has the specified focus order </returns>
578         /// <since_tizen> 6 </since_tizen>
579         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
580         [EditorBrowsable(EditorBrowsableState.Never)]
581         public View GetViewByFocusOrder(uint order)
582         {
583             View ret = new View(Interop.AccessibilityManager.AccessibilityManager_GetActorByFocusOrder(swigCPtr, order), true);
584             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
585             return ret;
586         }
587
588         /// <summary>
589         /// Moves the focus to the specified view.
590         /// Only one view can be focused at the same time. The view must have a defined focus order
591         /// and must be focusable, visible and in the window.
592         /// </summary>
593         /// <param name="view"> the view to be set with</param>
594         /// <returns> Whether the focus is successful or not </returns>
595         /// <since_tizen> 6 </since_tizen>
596         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
597         [EditorBrowsable(EditorBrowsableState.Never)]
598         public bool SetCurrentFocusView(View view)
599         {
600             bool ret = Interop.AccessibilityManager.AccessibilityManager_SetCurrentFocusActor(swigCPtr, View.getCPtr(view));
601             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
602             return ret;
603         }
604
605         /// <summary>
606         /// Gets the current focused view.
607         /// </summary>
608         /// <returns> A handle to the current focused view or an empty handle if no view is focused </returns>
609         /// <since_tizen> 6 </since_tizen>
610         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
611         [EditorBrowsable(EditorBrowsableState.Never)]
612         public View GetCurrentFocusView()
613         {
614             View ret = new View(Interop.AccessibilityManager.AccessibilityManager_GetCurrentFocusActor(swigCPtr), true);
615             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
616             return ret;
617         }
618
619         /// <summary>
620         /// Gets the focus group of current focused view.
621         /// </summary>
622         /// <returns> A handle to the immediate parent of the current focused view which is also a focus group, or an empty handle if no view is focused </returns>
623         /// <since_tizen> 6 </since_tizen>
624         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
625         [EditorBrowsable(EditorBrowsableState.Never)]
626         public View GetCurrentFocusGroup()
627         {
628             View ret = new View(Interop.AccessibilityManager.AccessibilityManager_GetCurrentFocusGroup(swigCPtr), true);
629             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
630             return ret;
631         }
632
633         /// <summary>
634         /// Gets the focus order of currently focused view.
635         /// </summary>
636         /// <returns> The focus order of the currently focused view or 0 if no view is in focus </returns>
637         /// <since_tizen> 6 </since_tizen>
638         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
639         [EditorBrowsable(EditorBrowsableState.Never)]
640         public uint GetCurrentFocusOrder()
641         {
642             uint ret = Interop.AccessibilityManager.AccessibilityManager_GetCurrentFocusOrder(swigCPtr);
643             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
644             return ret;
645         }
646
647         /// <summary>
648         /// Moves the focus to the next focusable view in the focus chain (according to the focus traversal order).
649         /// When the focus movement is wrapped around, the focus will be moved to the first focusable view when it reaches the end of the focus chain.
650         /// </summary>
651         /// <returns> True if the moving was successful </returns>
652         /// <since_tizen> 6 </since_tizen>
653         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
654         [EditorBrowsable(EditorBrowsableState.Never)]
655         public bool MoveFocusForward()
656         {
657             bool ret = Interop.AccessibilityManager.AccessibilityManager_MoveFocusForward(swigCPtr);
658             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
659             return ret;
660         }
661
662         /// <summary>
663         /// Moves the focus to the previous focusable view in the focus chain (according to the focus traversal order).
664         /// When the focus movement is wrapped around, the focus will be moved to the last focusable view
665         /// when it reaches the beginning of the focus chain.
666         /// </summary>
667         /// <returns> True if the moving was successful </returns>
668         /// <since_tizen> 6 </since_tizen>
669         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
670         [EditorBrowsable(EditorBrowsableState.Never)]
671         public bool MoveFocusBackward()
672         {
673             bool ret = Interop.AccessibilityManager.AccessibilityManager_MoveFocusBackward(swigCPtr);
674             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
675             return ret;
676         }
677
678         /// <summary>
679         /// Clears the focus from the current focused view if any, so that no view is focused in the focus chain.
680         /// It will emit focus changed signal without current focused view.
681         /// </summary>
682         /// <since_tizen> 6 </since_tizen>
683         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
684         [EditorBrowsable(EditorBrowsableState.Never)]
685         public void ClearFocus()
686         {
687             Interop.AccessibilityManager.AccessibilityManager_ClearFocus(swigCPtr);
688             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
689         }
690
691         /// <summary>
692         /// Clears every registered focusable view from focus-manager.
693         /// </summary>
694         /// <since_tizen> 6 </since_tizen>
695         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
696         [EditorBrowsable(EditorBrowsableState.Never)]
697         public new void Reset()
698         {
699             Interop.AccessibilityManager.AccessibilityManager_Reset(swigCPtr);
700             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
701         }
702
703         /// <summary>
704         /// Sets whether an view is a focus group that can limit the scope of focus movement to its child views in the focus chain.
705         /// </summary>
706         /// <param name="view"> the view to be set as a focus group</param>
707         /// <param name="isFocusGroup"> Whether to set the view to be a focus group or not</param>
708         /// <since_tizen> 6 </since_tizen>
709         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
710         [EditorBrowsable(EditorBrowsableState.Never)]
711         public void SetFocusGroup(View view, bool isFocusGroup)
712         {
713             Interop.AccessibilityManager.AccessibilityManager_SetFocusGroup(swigCPtr, View.getCPtr(view), isFocusGroup);
714             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
715         }
716
717         /// <summary>
718         /// Checks whether the view is set as a focus group or not.
719         /// </summary>
720         /// <param name="view"> the view to be checked</param>
721         /// <returns> Whether the view is set as a focus group </returns>
722         /// <since_tizen> 6 </since_tizen>
723         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
724         [EditorBrowsable(EditorBrowsableState.Never)]
725         public bool IsFocusGroup(View view)
726         {
727             bool ret = Interop.AccessibilityManager.AccessibilityManager_IsFocusGroup(swigCPtr, View.getCPtr(view));
728             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
729             return ret;
730         }
731
732         /// <summary>
733         /// Sets whether the group mode is enabled or not.
734         /// When the group mode is enabled, the focus movement will be limited to the child views  of the current focus group including the current focus group itself.
735         /// The current focus group is the closest ancestor of the current focused view that is set as a focus group.
736         /// </summary>
737         /// <param name="enabled"> Whether the group mode is enabled or not</param>
738         /// <since_tizen> 6 </since_tizen>
739         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
740         [EditorBrowsable(EditorBrowsableState.Never)]
741         public void SetGroupMode(bool enabled)
742         {
743             Interop.AccessibilityManager.AccessibilityManager_SetGroupMode(swigCPtr, enabled);
744             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
745         }
746
747         /// <summary>
748         /// Gets whether the group mode is enabled or not.
749         /// </summary>
750         /// <since_tizen> 6 </since_tizen>
751         /// <returns> Whether the group mode is enabled or not. </returns>
752         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
753         [EditorBrowsable(EditorBrowsableState.Never)]
754         public bool GetGroupMode()
755         {
756             bool ret = Interop.AccessibilityManager.AccessibilityManager_GetGroupMode(swigCPtr);
757             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
758             return ret;
759         }
760
761         /// <summary>
762         /// Sets whether focus will be moved to the beginning of the focus chain when it reaches the end or vice versa.
763         /// When both the wrap mode and the group mode are enabled, focus will be wrapped within the current focus group.
764         /// Focus will not be wrapped in default.
765         /// </summary>
766         /// <param name="wrapped"> Whether the focus movement is wrapped around or not</param>
767         /// <since_tizen> 6 </since_tizen>
768         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
769         [EditorBrowsable(EditorBrowsableState.Never)]
770         public void SetWrapMode(bool wrapped)
771         {
772             Interop.AccessibilityManager.AccessibilityManager_SetWrapMode(swigCPtr, wrapped);
773             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
774         }
775
776         /// <summary>
777         /// Gets whether the wrap mode is enabled or not.
778         /// </summary>
779         /// <returns> Whether the wrap mode is enabled or not. </returns>
780         /// <since_tizen> 6 </since_tizen>
781         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
782         [EditorBrowsable(EditorBrowsableState.Never)]
783         public bool GetWrapMode()
784         {
785             bool ret = Interop.AccessibilityManager.AccessibilityManager_GetWrapMode(swigCPtr);
786             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
787             return ret;
788         }
789
790         /// <summary>
791         /// Sets the focus indicator view.
792         /// This will replace the default focus indicator view in AccessibilityManager and
793         /// will be added to the focused view as a highlight.
794         /// </summary>
795         /// <param name="indicator"> The indicator view to be added</param>
796         /// <since_tizen> 6 </since_tizen>
797         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
798         [EditorBrowsable(EditorBrowsableState.Never)]
799         public void SetFocusIndicatorView(View indicator)
800         {
801             Interop.AccessibilityManager.AccessibilityManager_SetFocusIndicatorActor(swigCPtr, View.getCPtr(indicator));
802             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
803         }
804
805         /// <summary>
806         /// Gets the focus indicator view.
807         /// </summary>
808         /// <returns> A handle to the focus indicator view </returns>
809         /// <since_tizen> 6 </since_tizen>
810         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
811         [EditorBrowsable(EditorBrowsableState.Never)]
812         public View GetFocusIndicatorView()
813         {
814             View ret = new View(Interop.AccessibilityManager.AccessibilityManager_GetFocusIndicatorActor(swigCPtr), true);
815             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
816             return ret;
817         }
818
819         /// <summary>
820         /// Returns the closest ancestor of the given view that is a focus group.
821         /// </summary>
822         /// <param name="view"> The view to be checked for its focus group</param>
823         /// <returns> The focus group the given view belongs to or an empty handle if the given view doesn't belong to any focus group </returns>
824         /// <since_tizen> 6 </since_tizen>
825         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
826         [EditorBrowsable(EditorBrowsableState.Never)]
827         public View GetFocusGroup(View view)
828         {
829             View ret = new View(Interop.AccessibilityManager.AccessibilityManager_GetFocusGroup(swigCPtr, View.getCPtr(view)), true);
830             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
831             return ret;
832         }
833
834         /// <summary>
835         /// Returns the current position of the read action.
836         /// </summary>
837         /// <returns> The current event position </returns>
838         /// <since_tizen> 6 </since_tizen>
839         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
840         [EditorBrowsable(EditorBrowsableState.Never)]
841         public Vector2 GetReadPosition()
842         {
843             Vector2 ret = new Vector2(Interop.AccessibilityManager.AccessibilityManager_GetReadPosition(swigCPtr), true);
844             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
845             return ret;
846         }
847
848         /// <summary>
849         /// Enables Accessibility or not.
850         /// </summary>
851         /// <param name="enabled"> True if Accessibility should be enabled.</param>
852         /// This will be public opened later. Before ACR, need to be hidden as inhouse API.
853         [EditorBrowsable(EditorBrowsableState.Never)]
854         public void EnableAccessibility(bool enabled)
855         {
856             isForced = enabled;
857             Interop.AccessibilityManager.EnableAccessibility(swigCPtr, enabled);
858             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
859         }
860
861         /// <summary>
862         /// Queries whether the accessibility(screen-reader) is enabled.
863         /// Basically, the accessibility will be enabled by system setting.
864         /// </summary>
865         /// <returns> True if the accessibility(screen-reader) is enabled. </returns>
866         /// This will be public opened later. Before ACR, need to be hidden as inhouse API.
867         [EditorBrowsable(EditorBrowsableState.Never)]
868         public bool IsEnabled()
869         {
870             bool ret = Interop.AccessibilityManager.IsEnabled(swigCPtr);
871             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
872             return ret;
873         }
874
875         /// Queries whether EnableAccessibility() is called and Accessibility is enabled forcibly or not.
876         /// This API is only used for internal checks.
877         internal bool IsForcedEnable()
878         {
879             return isForced;
880         }
881
882         internal static AccessibilityManager Get()
883         {
884             AccessibilityManager ret = new AccessibilityManager(Interop.AccessibilityManager.AccessibilityManager_Get(), true);
885             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
886             return ret;
887         }
888
889         // Signals - AccessibilityManagerEvent.cs
890         internal FocusChangedSignal FocusChangedSignal()
891         {
892             FocusChangedSignal ret = new FocusChangedSignal(Interop.AccessibilityManager.AccessibilityManager_FocusChangedSignal(swigCPtr), false);
893             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
894             return ret;
895         }
896
897         internal AccessibilityFocusOvershotSignal FocusOvershotSignal()
898         {
899             AccessibilityFocusOvershotSignal ret = new AccessibilityFocusOvershotSignal(Interop.AccessibilityManager.AccessibilityManager_FocusOvershotSignal(swigCPtr), false);
900             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
901             return ret;
902         }
903
904         internal ViewSignal FocusedViewActivatedSignal()
905         {
906             ViewSignal ret = new ViewSignal(Interop.AccessibilityManager.AccessibilityManager_FocusedActorActivatedSignal(swigCPtr), false);
907             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
908             return ret;
909         }
910
911         internal AccessibilityActionSignal StatusChangedSignal()
912         {
913             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_StatusChangedSignal(swigCPtr), false);
914             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
915             return ret;
916         }
917
918         internal AccessibilityActionSignal ActionNextSignal()
919         {
920             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionNextSignal(swigCPtr), false);
921             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
922             return ret;
923         }
924
925         internal AccessibilityActionSignal ActionPreviousSignal()
926         {
927             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionPreviousSignal(swigCPtr), false);
928             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
929             return ret;
930         }
931
932         internal AccessibilityActionSignal ActionActivateSignal()
933         {
934             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionActivateSignal(swigCPtr), false);
935             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
936             return ret;
937         }
938
939         internal AccessibilityActionSignal ActionReadSignal()
940         {
941             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionReadSignal(swigCPtr), false);
942             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
943             return ret;
944         }
945
946         internal AccessibilityActionSignal ActionOverSignal()
947         {
948             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionOverSignal(swigCPtr), false);
949             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
950             return ret;
951         }
952
953         internal AccessibilityActionSignal ActionReadNextSignal()
954         {
955             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionReadNextSignal(swigCPtr), false);
956             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
957             return ret;
958         }
959
960         internal AccessibilityActionSignal ActionReadPreviousSignal()
961         {
962             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionReadPreviousSignal(swigCPtr), false);
963             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
964             return ret;
965         }
966
967         internal AccessibilityActionSignal ActionUpSignal()
968         {
969             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionUpSignal(swigCPtr), false);
970             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
971             return ret;
972         }
973
974         internal AccessibilityActionSignal ActionDownSignal()
975         {
976             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionDownSignal(swigCPtr), false);
977             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
978             return ret;
979         }
980
981         internal AccessibilityActionSignal ActionClearFocusSignal()
982         {
983             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionClearFocusSignal(swigCPtr), false);
984             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
985             return ret;
986         }
987
988         internal AccessibilityActionSignal ActionBackSignal()
989         {
990             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionBackSignal(swigCPtr), false);
991             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
992             return ret;
993         }
994
995         internal AccessibilityActionSignal ActionScrollUpSignal()
996         {
997             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionScrollUpSignal(swigCPtr), false);
998             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
999             return ret;
1000         }
1001
1002         internal AccessibilityActionSignal ActionScrollDownSignal()
1003         {
1004             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionScrollDownSignal(swigCPtr), false);
1005             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1006             return ret;
1007         }
1008
1009         internal AccessibilityActionSignal ActionPageLeftSignal()
1010         {
1011             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionPageLeftSignal(swigCPtr), false);
1012             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1013             return ret;
1014         }
1015
1016         internal AccessibilityActionSignal ActionPageRightSignal()
1017         {
1018             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionPageRightSignal(swigCPtr), false);
1019             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1020             return ret;
1021         }
1022
1023         internal AccessibilityActionSignal ActionPageUpSignal()
1024         {
1025             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionPageUpSignal(swigCPtr), false);
1026             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1027             return ret;
1028         }
1029
1030         internal AccessibilityActionSignal ActionPageDownSignal()
1031         {
1032             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionPageDownSignal(swigCPtr), false);
1033             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1034             return ret;
1035         }
1036
1037         internal AccessibilityActionSignal ActionMoveToFirstSignal()
1038         {
1039             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionMoveToFirstSignal(swigCPtr), false);
1040             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1041             return ret;
1042         }
1043
1044         internal AccessibilityActionSignal ActionMoveToLastSignal()
1045         {
1046             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionMoveToLastSignal(swigCPtr), false);
1047             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1048             return ret;
1049         }
1050
1051         internal AccessibilityActionSignal ActionReadFromTopSignal()
1052         {
1053             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionReadFromTopSignal(swigCPtr), false);
1054             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1055             return ret;
1056         }
1057
1058         internal AccessibilityActionSignal ActionReadFromNextSignal()
1059         {
1060             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionReadFromNextSignal(swigCPtr), false);
1061             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1062             return ret;
1063         }
1064
1065         internal AccessibilityActionSignal ActionZoomSignal()
1066         {
1067             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionZoomSignal(swigCPtr), false);
1068             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1069             return ret;
1070         }
1071
1072         internal AccessibilityActionSignal ActionReadPauseResumeSignal()
1073         {
1074             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionReadPauseResumeSignal(swigCPtr), false);
1075             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1076             return ret;
1077         }
1078
1079         internal AccessibilityActionSignal ActionStartStopSignal()
1080         {
1081             AccessibilityActionSignal ret = new AccessibilityActionSignal(Interop.AccessibilityManager.AccessibilityManager_ActionStartStopSignal(swigCPtr), false);
1082             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1083             return ret;
1084         }
1085
1086         internal SWIGTYPE_p_Dali__SignalT_bool_fDali__Toolkit__AccessibilityManager_R_Dali__TouchEvent_const_RF_t ActionScrollSignal()
1087         {
1088             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(Interop.AccessibilityManager.AccessibilityManager_ActionScrollSignal(swigCPtr), false);
1089             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1090             return ret;
1091         }
1092     }
1093 }