Interface IAtspiValue

    Definition

    Namespace:
    Tizen.NUI.Accessibility
    Assembly:
    Tizen.NUI.dll

    Interface representing objects which can store numeric value.

    public interface IAtspiValue

    Methods

    View Source

    AccessibilityGetCurrent()

    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:

    1. "percent" (the default) - AccessibilityGetCurrent() normalized as a percentage of the range [AccessibilityGetMinimum(), AccessibilityGetMaximum()],
    2. "number" - AccessibilityGetCurrent() verbatim,
    3. "text" - AccessibilityGetValueText() is used instead of AccessibilityGetCurrent()
    View Source

    AccessibilityGetMaximum()

    Gets the highest possible value.

    Declaration
    double AccessibilityGetMaximum()
    Returns
    Type Description
    double

    The highest value

    View Source

    AccessibilityGetMinimum()

    Gets the lowest possible value.

    Declaration
    double AccessibilityGetMinimum()
    Returns
    Type Description
    double

    The minimum value

    View Source

    AccessibilityGetMinimumIncrement()

    Gets the lowest increment that can be distinguished.

    Declaration
    double AccessibilityGetMinimumIncrement()
    Returns
    Type Description
    double

    The lowest increment

    View Source

    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".

    View Source

    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

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX