net.rim.blackberry.api.bbm.platform.profile
Interface ContactListProvider


public interface ContactListProvider

Provides custom contact list with groups/filters for Contact Picker UI


Field Summary
static int BBM_CONTACTS_WITH_APP
          Adds contacts who have App installed
 
Method Summary
 BBMPlatformContactList getContactsForGroup(int groupIndex)
          Provides list of Contacts for specific group Contacts dont have application installed or blocked will not appear
 int getDefaultGroupIndex()
          Set default selected group index
 String[] getGroupNames()
          Group Names would appear as filters on Contact Picker UI
 

Field Detail


BBM_CONTACTS_WITH_APP

public static final int BBM_CONTACTS_WITH_APP
Adds contacts who have App installed
Since:
BBM SDK 1.0
Method Detail

getContactsForGroup

public BBMPlatformContactList getContactsForGroup(int groupIndex)
Provides list of Contacts for specific group Contacts dont have application installed or blocked will not appear
Parameters:
groupIndex - is the index of groupName array
Returns:
list of objects for groupIndex
Since:
BBM SDK 1.0
See Also:
for groupIndex

getDefaultGroupIndex

public int getDefaultGroupIndex()
Set default selected group index
Returns:
default selected group index
Since:
BBM SDK 1.0
See Also:
for groupIndex

getGroupNames

public String[] getGroupNames()
Group Names would appear as filters on Contact Picker UI
Returns:
array of GroupNames, array index is referred as groupIndex
Since:
BBM SDK 1.0



Copyright 1999- Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.