ContactSelectionMode

Since: BlackBerry 10.0.0

#include <bb/cascades/pickers/ContactSelectionMode>

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

Defines the selection mode that a ContactPicker should be launched in.

The ContactPicker can be used to select a single contact, multiple contacts, or an attribute of a contact. By default, the ContactPicker allows the user to select a single contact.


Overview

Public Types Index

Public Types

Type

Single 0

This mode allows the user to select a single contact.

Multiple 1

This mode allows the user to select multiple contacts.

The user can select multiple contacts and the selection completes when the user confirms the selection using the confirmation button.

Since:

BlackBerry 10.0.0

Attribute 2

This mode allows the selection of an attribute of a contact.

For example, a user can select a single phone number or an email address.

Since:

BlackBerry 10.0.0

MultipleAttributes 3

This mode allows the selection of multiple attributes of contacts.

For example, a user can select a phone number and an email address from different contacts and have them returned as a list.

Since:

BlackBerry 10.3.1

Last modified: 2014-09-30



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

comments powered by Disqus