The Client Object API contains classes and methods for managing local database information, and managing connections to the Unwired Server through a synchronization connection profile.
ConnectionProfile
The ConnectionProfile class manages local database information. You can use it to set the encryption key, which you must do before creating a local database.
SynchronizationProfile
Before synchronizing with Unwired Server, you must configure a client with information for establishing a connection with the Unwired Server where the mobile application has been deployed.
Connect through a Relay Server
To enable your client application to connect through a Relay Server you must make manual configuration changes in the object API code to provide the Relay Server properties.
Authentication
The generated package database class provides a default synchronization connection profile according to the Unwired Server connection profile and Server Domain selected during code generation. You can log in to the Unwired Server with your user name and credentials.
Enable End-to-End Encryption (E2EE) Using SSL
Replication synchronization streams can be encrypted end-to-end from the client to Unwired Server. You can configure the application to make these secure, encrypted connections.
Encrypt the Database
You can use ConnectionProfile.EncryptionKey to set the encryption key of a local database. Set the key during application initialization, and before creating or accessing the client database.
Set Database File Property
You can use setProperty to specify the database file name on the device, such as the directory of the running program, a specific directory path, or a secure digital (SD) card.