The Connection APIs contain methods for managing local database information, establishing a connection with the Unwired Server and authenticating.
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.
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.
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.