Interface IAtspiValue
Definition
- Namespace:
- Tizen.NUI.Accessibility
- Assembly:
- Tizen.NUI.dll
Interface representing objects which can store numeric value.
public interface IAtspiValue
Methods
View SourceAccessibilityGetCurrent()
Gets the current numeric value.
Declaration
double AccessibilityGetCurrent()
Returns
Type | Description |
---|---|
double |
Remarks
The application may set the "value_format" attribute to one of the following values in order to customize what is read by the Screen Reader:
- "percent" (the default) - AccessibilityGetCurrent() normalized as a percentage of the range [AccessibilityGetMinimum(), AccessibilityGetMaximum()],
- "number" - AccessibilityGetCurrent() verbatim,
- "text" - AccessibilityGetValueText() is used instead of AccessibilityGetCurrent()
AccessibilityGetMaximum()
Gets the highest possible value.
Declaration
double AccessibilityGetMaximum()
Returns
Type | Description |
---|---|
double | The highest value |
AccessibilityGetMinimum()
Gets the lowest possible value.
Declaration
double AccessibilityGetMinimum()
Returns
Type | Description |
---|---|
double | The minimum value |
AccessibilityGetMinimumIncrement()
Gets the lowest increment that can be distinguished.
Declaration
double AccessibilityGetMinimumIncrement()
Returns
Type | Description |
---|---|
double | The lowest increment |
AccessibilityGetValueText()
Gets the formatted current value.
Declaration
string AccessibilityGetValueText()
Returns
Type | Description |
---|---|
string |
Remarks
This does not have to be AccessibilityGetCurrent() formatted in any particular way, i.e. it may be an arbitrary string, e.g. "small font size" for the numeric value 10.0. The return value of this method is only used if the "value_format" attribute is "text".
AccessibilitySetCurrent(double)
Sets the current value.
Declaration
bool AccessibilitySetCurrent(double value)
Parameters
Type | Name | Description |
---|---|---|
double | value | The current value to set |
Returns
Type | Description |
---|---|
bool | True if value could have been assigned, false otherwise |