Interim hand-authored reference. This page is authored directly from the Seam Android SDK public Kotlin sources. See the reference overview for context.
Overview
SeamRequiredUserInteraction is a sealed class that describes the specific action a user must take to resolve a SeamCredentialError.UserInteractionRequired error. Inspect the subtype to determine what to prompt the user to do.
Subtypes
| Subtype | Description |
|---|---|
CompleteOtpAuthorization(val otpUrl: URL) | The user must complete OTP authorization at the provided URL to unlock with this credential. Open otpUrl in a browser. |
EnableInternet | The user must enable internet connectivity on their device. |
EnableBluetooth | The user must enable Bluetooth on their device. |
GrantPermissions(val permissions: List<String>) | The user must grant one or more permissions to the app. The permissions list contains the Android permission strings that need to be granted. |
CompleteOtpAuthorization
otpUrl in a browser to complete a one-time-password authorization step. This is required by certain access control providers before their credentials can be used.
GrantPermissions
permissions list contains Android permission strings (for example, "android.permission.BLUETOOTH_SCAN") that the app must request from the user via the standard Android permissions API.
Example
SeamCredentialError.UserInteractionRequired
