saveAuthKey

Encrypts the authentication key and saves it to Shared Preferences

Calls BleListener.onSaveAuthKeySuccess upon successful completion.

Error Handling: The function returns a BleError in the following scenarios:

  • BleError.SaveAuthKeyFailed: The authKey is not empty.

  • BleError.SaveAuthKeyFailed: The authKey failed to encrypt.

See also