Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Contributor
tnavabothu
Posts: 48
Registered: ‎08-07-2013
My Device: z10
My Carrier: blackberry

how to use setSubKindFilters function in contacts picker

hi 

 

    can any one help me,how can i use the setSubkindFilters to filter the contacts,i'm invoking the contacts picker to pick a contact.now i need the set SubkindFilter to get the contact depending on the filter.

 

bb::smileytongue:im::contacts::AttributeSubKind *gagh;
contactPicker->setSubKindFilters(QSet<bb::smileytongue:im::contacts::KindSubKindSpecifier> gagh->PhoneMobile);

 

is this the correct way i'm doing.

Please use plain text.