|
|||||||||
| 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.Plugin
|
+--net.rim.blackberry.api.bbm.platform.BBMPlatformApplication
An application that needs to register with BBMPlatform needs to override this class. The application name that appears in BlackBerry Messenger will be taken from the ApplicationDescriptor of the invocable module as specified in this class.
| Constructor Summary | ||
BBMPlatformApplication(String UUID)
Default constructor. |
||
| Method Summary | ||
int |
getDefaultSettings()
Returns the default settings for the BBM Platform. |
|
int |
getInvocableApplicationDescriptorIndex()
Returns the index of the ApplicationDescriptor element which can be used to invoke the application if it is not running. |
|
int |
getInvocableModuleHandle()
Returns the module handle which can be used to invoke the application if it is not running. |
|
String |
getUUID()
Returns the UUID. |
|
| Methods inherited from class net.rim.blackberry.api.bbm.platform.Plugin |
getName |
| Constructor Detail |
public BBMPlatformApplication(String UUID)
UUID - a 128-bit universally unique identifier for the application; must be 36 characters long
It is used to uniquely identify the application (along with the vendor
name and the application name) in the pre-promotion/test environment before the application is available in AppWorld.
If the application exists in AppWorld, the UUID will not be used to identify the application.
The same UUID should be used for future releases of the same application. If the UUID changes across different versions,
two different versions of the same application will not be able to communicate with each other through the BBM Platform.
See Generating a UUID for a sample UUID generator.IllegalArgumentException - if UUID is not 36 characters long| Method Detail |
public int getDefaultSettings()
BBMPlatformContext for available settings.
These settings can be set only once when registering with the BBM Platform.public int getInvocableApplicationDescriptorIndex()
CodeModuleManager.getApplicationDescriptors(getInvocableModuleHandle()).public int getInvocableModuleHandle()
BBMPlatformManager.register(BBMPlatformApplication). If the value
changes after the call to the above method, it will be ignored.
The value may not be accurate if this value is checked outside of this call.
If your application should be invoked through a different module, override this method.CodeModuleManager.getModuleHandle("my_invocable_module_name");
|
|||||||||
| 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.