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:

ParametersTypeDescription
appIdStringThe app id that is generated while creating an app asset within Webex Connect .
clientKeyStringThe client key that is generated while creating an app asset within Webex Connect .
environmentICEnvironmentWebex 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:

ParameterTypeDescription
allowUnencryptedDatabaseFallbackbooleanIf true, it allows creating a default SQLite database when SQLcipher fails.

allowUnencryptedDatabaseFallback

Returns the allowUnencryptedDatabaseFallback value.

Syntax: public boolean allowUnencryptedDatabaseFallback()