ICConfig
ICConfig
This version of the SDK added one more new constructor with environment parameter and some new method to pass or get the environment value.
Note: If not sets the environment then default value will be UK.
New ICConfig Constructor
This method is used to initialize an ICConfig instance with an appId, clientKey and environment.
Syntax: public void ICConfig(String appId, String clientKey, ICEnvironment environment)
Parameters:
Parameters | Type | Description |
---|---|---|
appId | String | The app id that is generated while creating an app asset within Webex Connect . |
clientKey | String | The client key that is generated while creating an app asset within Webex Connect . |
environment | ICEnvironment | Webex Connect server environment |
getEnvironment
Returns the environment.
Syntax: public ICEnvironment getEnvironment()
setAllowUnencryptedDatabaseFallback
Sets flag to allow creating a default SQLite database when SQLcipher fails.
Syntax: void setAllowUnencryptedDatabaseFallback(boolean allowUnencryptedDatabaseFallback)
Parameters:
Parameter | Type | Description |
---|---|---|
allowUnencryptedDatabaseFallback | boolean | If true, it allows creating a default SQLite database when SQLcipher fails. |
allowUnencryptedDatabaseFallback
Returns the allowUnencryptedDatabaseFallback value.
Syntax: public boolean allowUnencryptedDatabaseFallback()
Updated about 1 year ago