OData SDK API Changes in Version 2.2

Changes in the OData SDK API include Afaria, DataVault, refactored ODP class names, and ODPException.

Afaria APIs

Afaria APIs are no longer packaged with the OData SDK API, but are now available directly from the standalone Afaria library: http://frontline.sybase.com/support/downloads.aspx (registration required).

Afaria Methods Removed from OData SDK
Methods Platform
  • setConnectionProfileFromAfaria()
  • getSettingsFromAfaria()
  • getSignedCertificateFromAfaria()
Android
  • setConnectionProfileFromAfaria()
  • getSettingsFromAfaria()
  • getSignedCertificateFromAfaria()
BlackBerry
  • setConnectionProfileFromAfariaForUrl
  • getSettingsFromAfariaForUrl
  • getSignedCertificateFromAfaria
iOS

Related topics or references have been removed from Developer Guide: OData SDK.

DataVault API

DataVault APIs are no longer packaged with the OData SDK API, but are now available from the standalone DataVault library that is packaged with the Sybase Mobile SDK.

Deleted DataVault Methods
Methods Platform
LiteDataVault Android
SUPDataVault BlackBerry
LiteSUPDataVault iOS

Related topics or references have been removed from Developer Guide: OData SDK.

ODP Class Name Changes

Some API class names have been refactored to keep naming conventions across all platforms. APIs are logically grouped in the corresponding refactored classes. For consistency, some new classes have been added.

Changed (Refactored) Class Names
Methods Platform
  • ODPAppSettings – refactored from LiteAppSettings.
  • ODPCertificateManager – refactored from LiteCertificateStore.
  • ODPUserManager – refactored from LiteUserManager.
  • ODPException – new class.
  • ODPClientConnection – refactored from LiteMessagingClient.
Android
  • ODPAppSettings – refactored from AppSettings.
  • ODPCertificateManager – refactored from CertificateStore
  • ODPUserManager – refactored from UserManager.
  • ODPException – new class.
  • ODPClientConnection – APIs moved into this class for logical grouping.
BlackBerry
  • ODPAppSettings – refactored from AppSettings.
  • ODPCertificateManager – refactored from CertificateStore.
  • ODPUserManager – refactored from UserManager.
iOS

See Developer Guide: OData SDK, the ODP SDK API Usage topic (iOS, Android, and BlackBerry sections).

ODPException API

Error codes thrown by ODP APIs are defined in the ODPException class.

See ODPException class (Android and BlackBerry) documentation in Javadoc.