Interim hand-authored reference. This page is authored directly from the Seam Android SDK public Kotlin sources. See the reference overview for context.
Overview
SeamCredentialError is a sealed class that extends SeamError. It represents errors specific to a single credential. These errors appear in two places:
- As elements of
SeamCredential.errors— the list of active errors on a credential. - As elements of the
errorslist insideSeamError.CredentialErrors, thrown bySeamSDK.getInstance().unlock().
Subtypes
| Subtype | Description |
|---|---|
Loading | The credential has not finished loading yet. Retry the operation shortly. |
Expired | The credential has expired and can no longer be used for unlocking. |
UserInteractionRequired(val interaction: SeamRequiredUserInteraction) | The user must take a specific action before this credential can be used. The interaction property describes what action is required. |
Unknown | An unclassified or unexpected credential error occurred. |
UserInteractionRequired
interaction property is a SeamRequiredUserInteraction that describes the specific action required.
See also: SeamRequiredUserInteraction
Example
SeamError.CredentialErrors, SeamRequiredUserInteraction
