WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
nsIAbDirectoryQueryResultListener
| IID: | 516e7ffa-69bc-41db-a493-dfb4895832f3 |
| Inherits From: | nsISupports |
Constants
| List of defined query results | ||
| PRInt32 | queryResultMatch | = 0 |
| PRInt32 | queryResultComplete | = 1 |
| PRInt32 | queryResultStopped | = 2 |
| PRInt32 | queryResultError | = 3 |
Methods
void onQueryFoundCard ( nsIAbCard card )
void onQueryResult ( PRInt32 result , PRInt32 errorCode )
void onQueryFoundCard ( nsIAbCard card )
Called when a match is found. May be called from a different thread to the one that initiates the query.
- Arguments:
- card: An individual result associated returned from a query
void onQueryResult ( PRInt32 result , PRInt32 errorCode )
Called when a query has finished. May be called from a different thread to the one that initiates the query.
- Arguments:
- result: A result code from the list above.
- errorCode: An error code specific to the type of query.
Reference documentation is generated from Mozilla's source.
