GroupContact
Extends:
Represents a group contact. This class must not be directly instantiated. Instead, instances of this class are obtained by calling the ContactManager#createGroupContact or ContactManager#getContacts methods of {ContactManager}
Events
update
is emitted every time the contact is updated.delete
is emitted when the contact is deleted.
Member Summary
Public Members | ||
public get |
favorite: * |
|
public set |
Whether the contact is favorite |
|
public get |
Contact unique identifier |
|
public get |
Name associated with this contact |
|
public set |
Display name associated with this contact |
|
public get |
Source name of the contact's source |
|
public set |
Update the participants |
|
public get |
Source name of the contact's source |
Method Summary
Public Methods | ||
public |
Removes the contact |
|
public |
toJSON(): {"id": *, "name": *, "source": *, "favorite": *, "participants": *} Returns a JS object with the JSON serialization representation of this object |
Public Members
public get favorite: * source
Public Methods
public toJSON(): {"id": *, "name": *, "source": *, "favorite": *, "participants": *} source
Returns a JS object with the JSON serialization representation of this object
Return:
{"id": *, "name": *, "source": *, "favorite": *, "participants": *} |