getSecureArea

actual suspend fun getSecureArea(storage: Storage): SecureArea
expect suspend fun getSecureArea(storage: Storage = nonBackedUpStorage): SecureArea

Gets a SecureArea implementation suitable for the platform.

Parameters

storage

the Storage to use for metadata.

Throws

if called on a platform which isn't Android or iOS.

actual suspend fun getSecureArea(storage: <Error class: unknown class>): <Error class: unknown class>
actual suspend fun getSecureArea(storage: Storage): SecureArea
actual suspend fun getSecureArea(storage: Storage): SecureArea
actual suspend fun getSecureArea(storage: Storage): SecureArea