blackberry.bbm.platform.io.IncomingJoinRequest
A request to join received on the host's side.
Supported Platform(s)
- BlackBerry OS 5.0+
Configuration Document Settings
To use all of the API described for this object, you must ensure the following settings are in your configuration document:
You must declare the feature element(s) below in your configuration document:
Feature ID | OS 5.0 | OS 6.0 | OS 7.0 | PlayBook | Ripple |
---|---|---|---|---|---|
<feature id="blackberry.bbm.platform" /> | Y | Y | Y |
Permission Elements (PlayBook Only) |
---|
This API does not require a <permission> element to be declared in the configuration document of your BlackBerry WebWorks Application. |
API Summary
Properties
- Properties inherited from class blackberry.bbm.platform.io.JoinRequest:
- id status
accept
void accept([cookie: String]) |
Supported Platform(s)
- BlackBerry OS 5.0+Description
Accepts the join request from a peer. This can be called from the host's side.
onHostAccepted
supplied to joinHost will
be invoked on the peer's side.
Parameter | Type | Description |
---|---|---|
cookie |
String
Optional |
A custom parameter provided by the third party application. This parameter will be sent to the joining peer. |
Throws | Description |
---|---|
IllegalArgumentException |
If cookie is longer than 128 characters.
|
decline
void decline() |
Supported Platform(s)
- BlackBerry OS 5.0+Description
Declines the join request from a peer. This can be called from the host's side.
onHostDeclined
supplied to joinHost will
be invoked on the peer's
side, with the reason "declinedbyhost"
.
Properties:
Property | Type | Description | Supported Platform(s) |
---|---|---|---|
cookie | String |
The cookie specified by the requesting peer. undefined if no cookie was specified.
|
- BlackBerry OS 5.0+
|
peer | blackberry.bbm.platform.users.BBMPlatformUser |
The user who is requesting to join.
|
- BlackBerry OS 5.0+
|
Documentation generated by JsDoc Toolkit 2.4.0 on Sun Dec 30 2012 13:31:18 GMT-0500 (EST)