Public Member Functions

nsIAbAutoCompleteResult Interface Reference

This interface is used to extend the nsIAutoCompleteResult interface to provide extra facilities for obtaining more details of the results of an address book search. More...

import "nsIAbAutoCompleteResult.idl";

Inheritance diagram for nsIAbAutoCompleteResult:
Collaboration diagram for nsIAbAutoCompleteResult:

List of all members.

Public Member Functions

nsIAbCard getCardAt (in long index)
 Get the card from the result at the given index.
AString getEmailToUse (in long index)
 Gets the email to use for the card within the result at the given index.

Detailed Description

This interface is used to extend the nsIAutoCompleteResult interface to provide extra facilities for obtaining more details of the results of an address book search.


Member Function Documentation

nsIAbCard nsIAbAutoCompleteResult::getCardAt ( in long  index  ) 

Get the card from the result at the given index.

AString nsIAbAutoCompleteResult::getEmailToUse ( in long  index  ) 

Gets the email to use for the card within the result at the given index.

This is the email that was matched against for the card where there are multiple email addresses on a card.

Parameters:
index Index of the autocomplete result to return the value for.
Returns:
The email address to use from the card.

The documentation for this interface was generated from the following file: