Since: BlackBerry 10.3.0
To link against this class, add the following line to your .pro file: LIBS += -lbbpim
The ContactGroup class represents a group contact which can contain a number of individual contacts as members.
A contact group is a way of associating a number of contacts together to facilitate browsing and group communication. A Contact can be added as a member of the group using ContactService::addContactToGroup. All available contact groups can be retrieved using ContactService::groups. The addresses to use when communicating with a contact through a group can be specified using ContactService::updateGroupMembership.
Public Functions Index
Constructs an empty ContactGroup.
This function constructs a ContactGroup containing exactly the same values as the provided ContactGroup.
The ContactGroup to be copied.
Retrieves the ID of this ContactGroup.
You can use this value to interact with this ContactGroup and perform different operations using the ContactService, such as retrieving the contact group details. The ID is assigned automatically when the contact group is added to the database using the ContactService, and you can't change the ID after it's been assigned.
The ID of this ContactGroup.
Indicates whether this ContactGroup is a favorite.
If this ContactGroup is a favorite, this function returns true. Favorite contacts are displayed in the favorites grid in the Contacts application.
true if this ContactGroup is a favorite, false otherwise.
Retrieves the name of this ContactGroup.
name The name of this ContactGroup.