GetActionName

« nsIAccessible Page

Summary

This method retrieves the name of the accessible action at the given zero-based index.

 AString getActionName(
   in PRUint8 aIndex
 );

Parameters

aIndex
[in] The zero-based index.

Return value

Returns the name of the accessible action.

Exceptions thrown

NS_ERROR_FAILURE
Indicates that the accessible is unattached from the accessible tree.
NS_ERROR_INVALID_ARG
Indicates that the given index is our of range.

See Also