hwsecurity / de.cotech.hw / SecurityKeyManager / init /
init
open fun init(application: Application)
This method initializes SecurityKeyManager with a default configuration.
See also
Name | Summary |
---|---|
#init(Application, SecurityKeyManagerConfig) | #init(Application, SecurityKeyManagerConfig) |
de.cotech.hw.SecurityKeyManagerConfig | SecurityKeyManagerConfig#getDefaultConfig() |
Throws
Name | Summary |
---|---|
java.lang.IllegalStateException | if already initialized |
open fun init(application: Application, securityKeyManagerConfig: SecurityKeyManagerConfig)
This method initializes SecurityKeyManager.This method initializes dispatch of security keys while the App is in the foreground. It must be called beforecallbacks can be registered with registerCallbackForever.
See also
Name | Summary |
---|---|
de.cotech.hw.SecurityKeyManagerConfig |
Throws
Name | Summary |
---|---|
java.lang.IllegalStateException | if already initialized |