AttributeKind

Since: BlackBerry 10.0.0

#include <bb/pim/contacts/ContactConsts>

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

The AttributeKind class contains the possible attribute kinds for a contact.

The kind specifies metadata about the type of an attribute. The kind is represented by the AttributeKind::Type enumeration and can be values such as Name, Email, Phone, and so on.

You can use the values in the AttributeKind class in conjunction with values in the AttributeSubKind class to precisely define the classification of attributes for a Contact. You use the ContactAttribute class to represent a specific attribute.

Note that the "Hidden" kind is useful for storing private application-specific data, if required.


Overview

Public Types

Type

An enumeration of possible attribute kinds for a contact.

Since:

BlackBerry 10.0.0

Invalid 0

Indicates an invalid attribute kind.

Phone 1

Indicates the Phone attribute kind.

This kind should be used with the Home, Other, and PhoneMobile sub-kinds.

Since:

BlackBerry 10.0.0

Fax 2

Indicates the Fax attribute kind.

Since:

BlackBerry 10.0.0

Pager 3

Indicates the Pager attribute kind.

Since:

BlackBerry 10.0.0

Email 4

Indicates the Email attribute kind.

Since:

BlackBerry 10.0.0

Website 5

Indicates the Website attribute kind.

This kind can be used with sub-kinds such as Blog, Portfolio, and so on.

Since:

BlackBerry 10.0.0

Feed 6

Indicates the Web feed attribute kind.

This kind is used for RSS/Atom feeds, as opposed to websites, which use the Website kind..

Since:

BlackBerry 10.0.0

Profile 7

Indicates the Profile attribute kind.

This kind is used for social profiles like Facebook, Twitter, and so on.

Since:

BlackBerry 10.0.0

Family 8

Indicates the Family members kind.

This kind can be used with sub-kinds such as Spouse, Child, and so on.

Since:

BlackBerry 10.0.0

Person 9

Indicates the Person attribute kind.

This kind can be used with sub-kinds such as Manager, Assistant, and so on.

Since:

BlackBerry 10.0.0

Date 10

Indicates the Date attribute kind.

This kind can be used with sub-kinds such as Birthday, Anniversary, and so on.

Since:

BlackBerry 10.0.0

Group 11

Indicates the Group attribute kind.

This kind should be used with the GroupDepartment sub-kind.

Since:

BlackBerry 10.0.0

Name 12

Indicates the Name attribute kind that's used to describe the contact.

This kind can be used with sub-kinds such as Title, NameSurname, NameGiven, NameMiddle, and so on.

Since:

BlackBerry 10.0.0

StockSymbol 13

Indicates the StockSymbol attribute kind.

This kind can be used with sub-kinds such as StockSymbolNyse, StockSymbolNasdaq, and so on.

Since:

BlackBerry 10.0.0

Ranking 14

Indicates the Ranking attribute kind.

This kind can be used with sub-kinds such as Klout, TrstRank, and so on.

Since:

BlackBerry 10.0.0

OrganizationAffiliation 15

Indicates the OrganizationAffiliation attribute kind.

This kind can be used with sub-kinds such as OrganizationAffiliationName, OrganizationAffiliationTitle, StartDate, EndDate, and so on.

Since:

BlackBerry 10.0.0

Education 16

Indicates the Education attribute kind.

This kind can be used with sub-kinds such as EducationInstitutionName, StartDate, EndDate, and so on.

Since:

BlackBerry 10.0.0

Note 17

Indicates the Note attribute kind.

This kind is usually used with the Other sub-kind.

Since:

BlackBerry 10.0.0

InstantMessaging 18

Indicates the InstantMessaging attribute kind.

This kind can be used with sub-kinds such as InstantMessagingBbmPin.

Since:

BlackBerry 10.0.0

VideoChat 19

Indicates the VideoChat attribute kind.

This kind can be used with the VideoChatBbPlaybook sub-kind.

Since:

BlackBerry 10.0.0

ConnectionCount 20

Indicates the Connection count attribute kind, which is used for different social providers.

For example, this kind might be used to indicate that a contact has 80 connections in LinkedIn.

Since:

BlackBerry 10.0.0

Hidden 21

Indicates the Hidden attribute kind.

This kind can be used for any information that you need. It's designed to add hidden properties to a contact for applications to use.

Since:

BlackBerry 10.0.0

Biography 22

Indicates the Biography attribute kind.

This kind can be used with the BiographyFacebook, BiographyTwitter, and BiographyLinkedIn sub-kinds.

Since:

BlackBerry 10.0.0

Sound 23

Indicates the Sound attribute kind.

This kind is currently used with the SoundRingtone sub-kind.

Since:

BlackBerry 10.0.0

Notification 24

Indicates the Notification attribute kind.

This kind is currently used with the Notification* sub-kinds.

Since:

BlackBerry 10.0.0

MessageSound 25

Indicates the MessageSound attribute kind.

This kind is currently used with the MessageRingtone sub-kind.

Since:

BlackBerry 10.0.0

MessageNotification 26

Indicates the MessageNotification attribute kind.

This kind is currently used with the MessageNotification* sub-kinds.

Since:

BlackBerry 10.0.0

SecureVoice 27

Indicates the SecureVoice attribute kind.

This kind is currently used with the SecureVoice* sub-kinds.

Since:

BlackBerry 10.3.0

Last modified: 2014-09-30



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

comments powered by Disqus