write

abstract fun write(key: String, value: String)(source)

Stores value under key, replacing any existing entry, without authentication.

Throws

if the backend is unavailable or the write fails; Unsupported if no strong biometric is enrolled, because the entry could never be read.

if key is blank or contains NUL/CR/LF, or value is blank or contains NUL.