There are several changes in the Object API for SDK 2.2 SP02.
Connection API changes enable you to write to the database during synchronization.
Method | Description |
---|---|
allowConcurrentWrite | Sets the property to true to allow multiple concurrent writer threads. |
Documented in: Developer Guide: <Device Platform> Object API Applications, see Setting Up the Connection Profile
Subscription API changes let you more easily read or update synchronization parameter names or values for all active synchronization parameter sets; and add synchronization parameters before performing an initial synchronization.
Method | Description |
---|---|
GenericList([mbo]Subscription > GetSubscriptions() | Returns all subscription information. For list type synchronization parameters, the MBO class should use this method to get all default subscriptions. |
AddSubscription([mbo]Subscription subscription) | Adds a subscription. |
RemoveSubscription([mbo]Subscription subscription) | Removes a subscription. |
Documented in: Developer Guide: <Device Platform> Object API Applications, see Managing Synchronization Parameters
Use the new addPushNotificationListener API to register the push notification listener object, and implement a new PushNotificationListener protocol definition to receive push notifications. When a native push notification is received, the listener's onPushNotification method is invoked.
Method | Description |
---|---|
addPushNotificationListener | Enables push notification. |
A new Object API client interface enables iOS, Android, and BlackBerry to access performance libraries for tracing or collecting key performance indicators (KPIs).
Method | Description |
---|---|
startInteraction() | The service starts collecting metrics. |
stopInteraction() | Metrics collection stops and a summary is sent to a reporting target. |
Documented in: Developer Guide: <Device Platform> Object API Applications (Android, BlackBerry and iOS), see Tracking KPI
Class | Platform |
---|---|
|
Android |
|
iOS |
Documented in: Developer Guide: <Device Platform> Object API Applications (Android and iOS), see End to End Trace
Method | Platform |
---|---|
beginDownloadCustomizationBundle() | Android, BlackBerry, iOS, Windows, Windows Mobile |
Documented in: Developer Guide: <Device Platform> Object API Applications, see beginDownloadCustomizationBundle()
Method | Description |
---|---|
setApplicationIdentifier(String value, signerId) | Identifies the signed key file used by the application. The key file is used with the BlackBerry Password Based Code Signing Authority. |
Method | Description |
---|---|
setApplicationIdentifier(String value) | This method set will be removed in a future release. |
Documented in: Developer Guide: BlackBerry Object API Applications, see Signing