2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
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.
19 namespace ElmSharp.Accessible
22 /// IAccessibleObject is an interface, which defines the properties and methods of an accessible object.
24 /// <since_tizen> preview </since_tizen>
25 [Obsolete("This has been deprecated in API12")]
26 public interface IAccessibleObject
29 /// Gets or sets the reading information types of an accessible object.
31 /// <since_tizen> preview </since_tizen>
32 [Obsolete("This has been deprecated in API12")]
33 ReadingInfoType ReadingInfoType { get; set; }
36 /// Gets or sets the role of the object in an accessibility domain.
38 /// <since_tizen> preview </since_tizen>
39 [Obsolete("This has been deprecated in API12")]
40 AccessRole Role { get; set; }
43 /// Gets or sets the highlightable of the given widget.
45 /// <since_tizen> preview </since_tizen>
46 [Obsolete("This has been deprecated in API12")]
47 bool CanHighlight { get; set; }
50 /// Gets or sets the translation domain of the "name" and "description" properties.
51 /// Translation domain should be set if the application wants to support i18n for accessing the "name" and "description" properties.
52 /// When the translation domain is set, values of the "name" and "description" properties will be translated with dgettext function using the current translation domain as "domainname" parameter.
53 /// It is the application developer's responsibility to ensure that translation files are loaded and binded to the translation domain when accessibility is enabled.
55 /// <since_tizen> preview </since_tizen>
56 [Obsolete("This has been deprecated in API12")]
57 string TranslationDomain { get; set; }
60 /// Gets or sets an accessible name of the object.
62 /// <since_tizen> preview </since_tizen>
63 [Obsolete("This has been deprecated in API12")]
64 string Name { get; set; }
67 /// Gets or sets contextual information about the object.
69 /// <since_tizen> preview </since_tizen>
70 [Obsolete("This has been deprecated in API12")]
71 string Description { get; set; }
74 /// Gets or sets the delegate for <see cref="IAccessibleObject.Name"/>.
76 /// <since_tizen> preview </since_tizen>
77 [Obsolete("This has been deprecated in API12")]
78 AccessibleInfoProvider NameProvider { get; set; }
81 /// Gets or sets the delegate for <see cref="IAccessibleObject.Description"/>.
83 /// <since_tizen> preview </since_tizen>
84 [Obsolete("This has been deprecated in API12")]
85 AccessibleInfoProvider DescriptionProvider { get; set; }
88 /// Defines the relationship between two accessible objects.
89 /// Relationships can be queried by Assistive Technology clients to provide customized feedback, improving overall user experience.
90 /// AppendRelation API is asymmetric, which means that appending (For example, relation <see cref="FlowsTo"/> from object A to B) do not append relation <see cref="FlowsFrom"/> from object B to object A.
92 /// <param name="relation">The relationship between the source object and target object of a given type.</param>
93 /// <since_tizen> preview </since_tizen>
94 [Obsolete("This has been deprecated in API12")]
95 void AppendRelation(IAccessibleRelation relation);
98 /// Removes the relationship between two accessible objects.
100 /// <param name="relation">The relationship between the source object and target object of a given type.</param>
101 /// <since_tizen> preview </since_tizen>
102 [Obsolete("This has been deprecated in API12")]
103 void RemoveRelation(IAccessibleRelation relation);
106 /// Highlights the accessible widget.
108 /// <since_tizen> preview </since_tizen>
109 [Obsolete("This has been deprecated in API12")]
113 /// Clears the highlight of the accessible widget.
115 /// <since_tizen> preview </since_tizen>
116 [Obsolete("This has been deprecated in API12")]