ContactEntry

Since: BlackBerry 10.3.0

#include <bb/pim/common/ContactEntry>

To link against this class, add the following line to your .pro file: LIBS += -lbbpim

This class is used by CallHistoryService to return contact information about a CallHistory.


Overview

Public Functions Index

ContactEntry ()
ContactEntry (const ContactEntry &other)
~ContactEntry ()
bb::pim::contacts::AccountIdaccountId () const
bb::pim::contacts::ContactIdid () const
boolisValid () const
ContactEntry &operator= (const ContactEntry &other)

Public Functions

ContactEntry ()

Constructs an invalid ContactEntry.

See also:

ContactEntry::isValid

Since:

BlackBerry 10.3.0

ContactEntry (

Copy constructor.

This constructor initializes this ContactEntry with the values from the provided ContactEntry.

Parameters
other

The ContactEntry to be copied.

Since:

BlackBerry 10.3.0

~ContactEntry ()

Destructor.

Since:

BlackBerry 10.3.0

bb::pim::contacts::AccountId accountId ()

The account ID for this contact.

This ID corresponds to the provider account of this contact.

Return:

contact's account ID.

Since:

BlackBerry 10.3.0

bb::pim::contacts::ContactId id ()

Unique identifier of the contact.

Use this ID in conjunction with ContactService to get more details about the contact.

Return:

contact's ID.

Since:

BlackBerry 10.3.0

bool isValid ()

Indicates the validity of this ContactEntry.

This ContactEntry is valid if accountId and id are non-negative.

Return:

true if this ContactEntry is valid, false otherwise.

Since:

BlackBerry 10.3.0

ContactEntry & operator= (

Assignment operator.

This operator copies all values from the provided ContactEntry into this ContactEntry.

Since:

BlackBerry 10.3.0

Last modified: 2015-03-26



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus