Fhir Engine Configuration
data class FhirEngineConfiguration(enableEncryptionIfSupported: Boolean, databaseErrorStrategy: DatabaseErrorStrategy, serverConfiguration: ServerConfiguration?, testMode: Boolean)
Content copied to clipboard
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
FhirEngineConfiguration
Link copied to clipboard
fun FhirEngineConfiguration(enableEncryptionIfSupported: Boolean = false, databaseErrorStrategy: DatabaseErrorStrategy = UNSPECIFIED, serverConfiguration: ServerConfiguration? = null, testMode: Boolean = false)
Content copied to clipboard
Properties
databaseErrorStrategy
Link copied to clipboard
enableEncryptionIfSupported
Link copied to clipboard
serverConfiguration
Link copied to clipboard
Sources
androidJvm source
Link copied to clipboard