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

# AndroidWebViewBridge

> Kotlin Class

**Class**

```kotlin theme={null}
class AndroidWebViewBridge(context: Context, logger: Logger = Deps.logger) : WebViewBridge
```

## Constructors

```kotlin theme={null}
constructor(context: Context, logger: Logger = Deps.logger)
```

## Properties

| Property   | Type                         | Description |
| ---------- | ---------------------------- | ----------- |
| `isLoaded` | `StateFlow<Boolean>`         | -           |
| `messages` | `SharedFlow<WebViewMessage>` | -           |

## Functions

| Function      | Description |
| ------------- | ----------- |
| `getWebView`  | -           |
| `loadUrl`     | -           |
| `reset`       | -           |
| `sendMessage` | -           |

### getWebView

```kotlin theme={null}
fun getWebView(): WebView?
```

### loadUrl

```kotlin theme={null}
open suspend override fun loadUrl(url: String, timeout: Duration)
```

### reset

```kotlin theme={null}
open override fun reset()
```

### sendMessage

```kotlin theme={null}
open suspend override fun sendMessage(message: String)
```
