|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--net.rim.blackberry.api.bbm.platform.BBMPlatformManager
The BBMPlatformManager class contains the entry point for accessing the BBM Social SDK and provides
methods to register the application with the BBM Platform, access BBMContactList and UserProfile,
and to send and receive messages. You must call the register(BBMPlatformApplication application) method to gain access
to the BBM Social SDK.
| Method Summary | ||
static BBMPlatformContext |
register(BBMPlatformApplication application)
In order to access the BBM Social SDK, your application should register with the BBMPlatformManager by calling register(BBMPlatformApplication application) to obtain
a BBMPlatformContext object. |
|
| Method Detail |
public static BBMPlatformContext register(BBMPlatformApplication application)
In order to access the BBM Social SDK, your application should register with the
BBMPlatformManager by calling register(BBMPlatformApplication application) to obtain
a BBMPlatformContext object. This call is blocking and will present the user with a dialog to complete
the registration. The method will be executed on the caller's event thread.
Ensure that you call this method after you have created your event thread through
net.rim.device.api.system.Application#enterEventDispatcher().
BBMPlatformContext can be used to determine the registration and platform access status of your application.
To receive a notification of any status changes, the application must set a BBMPlatformContextListener
on the BBMPlatformContext.
You can invoke this method from a background process (non-Ui application). If any user interaction is required
to complete the registration process, you will get a BBMPlatformContext.ACCESS_REGISTER_WITH_UI_APPLICATION
access status.
application - application informationIllegalArgumentException - if application is nullIllegalArgumentException - if application.getInvocableModuleHandle() refers to an invalid module handleIllegalArgumentException - if application.getInvocableApplicationDescriptorIndex() refers to an invalid application descriptor indexControlledAccessException - if BBM Social SDK is disabledPersistentContentException - when Content Protection is enabled and device is locked.
|
|||||||||
| 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.