Types

Link copied to clipboard

No access was found for the supplied device ID.

Link copied to clipboard
sealed interface ConfigureError : ParakeyError

Errors returnable by Parakey.configure.

Link copied to clipboard

Configuration could not be completed due to an unexpected error, such as lack of network. Retrying might solve this error.

Link copied to clipboard

Credentials contained in the token bundle could not be parsed.

Link copied to clipboard

Session is not valid, new token bundle must be acquired from the Parakey API.

Link copied to clipboard

A conflicting operation is already in progress. Parakey.configure cannot run while a scan or unlock is in progress, and vice versa.

Link copied to clipboard
Link copied to clipboard
sealed interface ShowScanError : ParakeyError

Errors returnable by Parakey.showScan.

Link copied to clipboard

The unlock was canceled by the user before it completed.

Link copied to clipboard
sealed interface UnlockError : ParakeyError

Errors returnable by Parakey.unlock.

Link copied to clipboard

The unlock could not be completed, e.g. due to Bluetooth issues or the lock being out of range. This is a catch-all error returned when the unlock failed for a reason other than a precondition not being met.

Properties

Link copied to clipboard
abstract val id: String