> ## Documentation Index
> Fetch the complete documentation index at: https://docs.seam.co/llms.txt
> Use this file to discover all available pages before exploring further.

# SeamRequiredUserInteraction

> A user interaction that is required to unlock a credential.

> Auto-generated from the Seam Android SDK Kotlin sources. Do not edit by hand — see `mintlify-codegen/android-reference/`.

## Overview

```kotlin theme={null}
sealed class SeamRequiredUserInteraction
```

A user interaction that is required to unlock a credential. This can be one of the following:

* `CompleteOtpAuthorization`: complete an OTP authorization to unlock the credential.
* `EnableInternet`: enable internet to unlock the credential.
* `EnableBluetooth`: enable Bluetooth to unlock the credential.
* `GrantPermissions`: grant the required permissions to unlock the credential.

***

## Cases

### `CompleteOtpAuthorization`

Complete an OTP authorization to unlock with the credential. The user needs to go to
`otpUrl` to complete the authorization.

```kotlin theme={null}
data class CompleteOtpAuthorization(val otpUrl: URL) : SeamRequiredUserInteraction()
```

**Parameters**

| Parameter | Description                               |
| --------- | ----------------------------------------- |
| `otpUrl`  | the URL to complete the OTP authorization |

### `EnableInternet`

Enable internet to unlock with the credential. The user needs to enable internet on their device.

```kotlin theme={null}
class EnableInternet : SeamRequiredUserInteraction()
```

### `EnableBluetooth`

Enable Bluetooth to unlock the credential. The user needs to enable Bluetooth on their device.

```kotlin theme={null}
class EnableBluetooth : SeamRequiredUserInteraction()
```

### `GrantPermissions`

Grant the required permissions to unlock with the credential. The user needs to grant the
required permissions on their device.

```kotlin theme={null}
class GrantPermissions(val permissions: List<String>) : SeamRequiredUserInteraction()
```

**Parameters**

| Parameter     | Description                             |
| ------------- | --------------------------------------- |
| `permissions` | the permissions that need to be granted |
