public final class DatabaseConfiguration extends Object
| Constructor and Description |
|---|
DatabaseConfiguration(android.content.Context context) |
DatabaseConfiguration(DatabaseConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDirectory()
Returns the path to the directory to store the database in.
|
EncryptionKey |
getEncryptionKey()
ENTERPRISE EDITION API
Returns a key to encrypt the database with. |
DatabaseConfiguration |
setDirectory(String directory)
Set the path to the directory to store the database in.
|
DatabaseConfiguration |
setEncryptionKey(EncryptionKey encryptionKey)
ENTERPRISE EDITION API
Set a key to encrypt the database with. |
public DatabaseConfiguration(android.content.Context context)
public DatabaseConfiguration(DatabaseConfiguration config)
public DatabaseConfiguration setDirectory(String directory)
directory - the directorypublic DatabaseConfiguration setEncryptionKey(EncryptionKey encryptionKey)
encryptionKey - the keypublic String getDirectory()
public EncryptionKey getEncryptionKey()