|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface defines an incoming join request that the user receives when he or she is hosting a public connection.
| Field Summary |
| Fields inherited from interface net.rim.blackberry.api.bbm.platform.io.BBMPlatformJoinRequest |
REQUEST_STATUS_ACCEPTED, REQUEST_STATUS_CANCELED, REQUEST_STATUS_DECLINED, REQUEST_STATUS_PENDING |
| Method Summary | ||
void |
accept(String cookie)
The user (i.e., the host) can call this method to accept a pending join request to the public connection. |
|
void |
decline()
The user (i.e., the host) can call this method to decline a pending join request to the public connection. |
|
String |
getCookie()
This API is used to get the cookie parameter that was sent by the request sending side. |
|
BBMPlatformContact |
getRequester()
This API is used to get the person who sent a join request to the user. |
|
| Methods inherited from interface net.rim.blackberry.api.bbm.platform.io.BBMPlatformJoinRequest |
getRequestId, getStatus |
| Method Detail |
public void accept(String cookie)
BBMPlatformJoinRequest.REQUEST_STATUS_ACCEPTED.
cookie - The host can pass a String parameter to the request sender when accepting the join request.IllegalArgumentException - if cookie is longer than 128 characters.PersistentContentException - when Content Protection is enabled and device is locked.public void decline()
BBMPlatformJoinRequest.REQUEST_STATUS_DECLINED.
PersistentContentException - when Content Protection is enabled and device is locked.public String getCookie()
public BBMPlatformContact getRequester()
BBMPlatformConnection.setPublic(),
other people who have the same application can send join requests to the user. If the user accepts the join request, the request sender will be connected with the user
and from then then on they can share data to each other.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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.