# LaunchHandlerClientMode

Artifact: [androidx.browser:browser](https://developer.android.com/jetpack/androidx/releases/browser) [View Source](https://cs.android.com/search?q=file:androidx/browser/trusted/LaunchHandlerClientMode.java+class:androidx.browser.trusted.LaunchHandlerClientMode) Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/browser#1.9.0)

*** ** * ** ***


```
class LaunchHandlerClientMode
```

<br />

*** ** * ** ***

Represents launch handler client mode type value of a Launch Handler API https://developer.mozilla.org/en-US/docs/Web/API/Launch_Handler_API

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/browser/trusted/LaunchHandlerClientMode#AUTO() = 0` The user agent's default launch routing behavior is used. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/browser/trusted/LaunchHandlerClientMode#FOCUS_EXISTING() = 2` If an existing web app client is open it is brought to focus but not navigated to the launch's target URL, instead the target URL is communicated via LaunchParams. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/browser/trusted/LaunchHandlerClientMode#NAVIGATE_EXISTING() = 1` If an existing web app client is open it is brought to focus and navigated to the launch's target URL. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/browser/trusted/LaunchHandlerClientMode#NAVIGATE_NEW() = 3` A new web app client is created to load the launch's target URL. |

## Constants

### AUTO

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/browser#1.9.0)

```
const val AUTO = 0: Int
```

The user agent's default launch routing behavior is used.

### FOCUS_EXISTING

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/browser#1.9.0)

```
const val FOCUS_EXISTING = 2: Int
```

If an existing web app client is open it is brought to focus but not navigated to the launch's target URL, instead the target URL is communicated via LaunchParams. If there are no existing web app clients the navigate-new behavior is used instead.

### NAVIGATE_EXISTING

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/browser#1.9.0)

```
const val NAVIGATE_EXISTING = 1: Int
```

If an existing web app client is open it is brought to focus and navigated to the launch's target URL. If there are no existing web app clients the navigate-new behavior is used instead.

### NAVIGATE_NEW

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/browser#1.9.0)

```
const val NAVIGATE_NEW = 3: Int
```

A new web app client is created to load the launch's target URL.