FhirEngineConfiguration

data class FhirEngineConfiguration(enableEncryptionIfSupported: Boolean, databaseErrorStrategy: DatabaseErrorStrategy, serverConfiguration: ServerConfiguration?)

A configuration which describes the database setup and error recovery.

Database encryption is only available on API 23 or above. If enableEncryptionIfSupported is true, FHIR SDK will only enable database encryption on API 23 or above.

WARNING: Your app may try to decrypt an unencrypted database from a device which was previously on API 22 but later upgraded to API 23. When this happens, an IllegalStateException is thrown.

Constructors

Link copied to clipboard
fun FhirEngineConfiguration(enableEncryptionIfSupported: Boolean = false, databaseErrorStrategy: DatabaseErrorStrategy = UNSPECIFIED, serverConfiguration: ServerConfiguration? = null)

Properties

Link copied to clipboard
val databaseErrorStrategy: DatabaseErrorStrategy
Link copied to clipboard
val enableEncryptionIfSupported: Boolean = false
Link copied to clipboard
val serverConfiguration: ServerConfiguration? = null