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
Highlighted
Contributor
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:Smiley Tongueim::contacts::AttributeSubKind *gagh;
contactPicker->setSubKindFilters(QSet<bb:Smiley Tongueim::contacts::KindSubKindSpecifier> gagh->PhoneMobile);

 

is this the correct way i'm doing.