Creates a new MatchRule with specified states, attributes,
interfaces, and roles.
| states |
An StateSet specifying the states to match or NULL if none. |
| statematchtype |
An CollectionMatchType specifying how to interpret |
| attributes |
A GenericSet specifying attributes to match. To specify multiple attribute values, separate each value with a :: If an attribute value contains a :, then it can be escaped by preceding it with a \. A backslash can likewise be escaped by inserting a double backslash. |
| attributematchtype |
An CollectionMatchType specifying how to interpret |
| roles |
A Array of roles to match, or NULL if not applicable. |
| rolematchtype |
An CollectionMatchType specifying how to interpret |
| interfaces |
An array of interfaces to match, or NULL if not applicable. Interface names should be specified by the final component of their DBus names (Accessible, Component, etc). For Action, it is possible to specify an action name by enclosing it in parenthesis after the interface name, in which case only accessibles that implement that particular action will be returned. For instance, Action( click) will return accessibles that provide an action called "click". |
| interfacematchtype |
An CollectionMatchType specifying how to interpret |
| invert |
if |
|
A new MatchRule. |