The ContactCollection class
Support in HbbTV
Available since: Not implemented in HbbTV
typedef Collection<Contact> ContactCollection
The ContactCollection class represents a collection of Contact objects. See Annex K for the definition of the collection template.
In addition to the methods and properties defined for generic collections, the ContactCollection class supports the additional methods defined below.
Methods
Boolean remove( String contactId ) | ||
Description | Removes the contact represented by contactId from the users contact list. Returns true on success. | |
Arguments | contactId | Contact identifier of the user in the contact list. |
Boolean add( Contact contact ) | ||
Description | Adds the contact represented by the Contact object to the users contact list. Returns true on success. | |
Arguments | contact | Contact object to be added from users contact list. |