|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LinkedContactCallback
An interface allowing access to linked contact information to be set.
| Method Summary | ||
|---|---|---|
|
void |
setAvailability(int availability)
Set the current availability for this linked contact. |
|
void |
setContactList(LinkableContact[] contacts,
boolean append,
int totalLinkableContactCount)
Set a list of LinkableContact objects that can be used to create or modify a link to a BlackBerryContact. |
|
void |
setStatusString(String statusString)
Set the status description for this linked contact. |
|
void |
setUserName(String userName)
Set the user name for this linked contact. |
| Method Detail |
|---|
void setUserName(String userName)
userName - the linked contact's user namevoid setStatusString(String statusString)
statusString - the status descriptionvoid setAvailability(int availability)
availability - current availability for this contact
IllegalArgumentException - if availability is not equal to one of
the AVAILABILITY_ constants defined in LinkedContactInfoProvider
void setContactList(LinkableContact[] contacts,
boolean append,
int totalLinkableContactCount)
LinkableContact objects that can be used to create or modify a link to a BlackBerryContact.
To progressively load contacts, this method should be called subsequent times with append set to true. If the total
number of contacts to be set is known, this value should be specified by totalLinkableContactCount, so the current
progress can be monitored.
contacts - An array of contacts that can be linked. If null, will be ignored, but totalLinkableContactCount can
still be specified to indicate the number of expected contacts.append - true to append new LinkableContact objects to the current list, false to replace the current list.totalLinkableContactCount - the total number of expected contacts that will be set. If less than 0, the number of contacts is
determined by the length of the current contacts array plus the number of contacts previously added if
append is set to true.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal