# FileHandlingData

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

*** ** * ** ***


```
class FileHandlingData
```

<br />

*** ** * ** ***

Contains data to be delivered to the launch queue via a Trusted Web Activity. See `https://developer.android.com/reference/kotlin/androidx/browser/trusted/TrustedWebActivityIntentBuilder#setFileHandlingData(androidx.browser.trusted.FileHandlingData)`.

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/browser/trusted/FileHandlingData#KEY_URIS() = "androidx.browser.trusted.KEY_URIS"` Bundle key for `https://developer.android.com/reference/kotlin/androidx/browser/trusted/FileHandlingData#uris()`. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/browser/trusted/FileHandlingData#FileHandlingData(java.util.List<android.net.Uri>)(uris: (https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/android/net/Uri.html!>)` Creates a `https://developer.android.com/reference/kotlin/androidx/browser/trusted/FileHandlingData` with the given parameters. |

| ### Public functions |
|---|---|
| `java-static https://developer.android.com/reference/kotlin/androidx/browser/trusted/FileHandlingData` | `https://developer.android.com/reference/kotlin/androidx/browser/trusted/FileHandlingData#fromBundle(android.os.Bundle)(bundle: https://developer.android.com/reference/android/os/Bundle.html)` Unpacks the object from a `https://developer.android.com/reference/android/os/Bundle.html`. |
| `https://developer.android.com/reference/android/os/Bundle.html` | `https://developer.android.com/reference/kotlin/androidx/browser/trusted/FileHandlingData#toBundle()()` Packs the object into a `https://developer.android.com/reference/android/os/Bundle.html` |

| ### Public properties |
|---|---|
| `(https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/android/net/Uri.html!>` | `https://developer.android.com/reference/kotlin/androidx/browser/trusted/FileHandlingData#uris()` URIs of files to be handled. |

## Constants

### KEY_URIS

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

```
const val KEY_URIS = "androidx.browser.trusted.KEY_URIS": String!
```

Bundle key for `https://developer.android.com/reference/kotlin/androidx/browser/trusted/FileHandlingData#uris()`.

## Public constructors

### FileHandlingData

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

```
FileHandlingData(uris: (Mutable)List<Uri!>)
```

Creates a `https://developer.android.com/reference/kotlin/androidx/browser/trusted/FileHandlingData` with the given parameters.

| Parameters |
|---|---|
| `uris: (https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/android/net/Uri.html!>` | The `https://developer.android.com/reference/kotlin/androidx/browser/trusted/FileHandlingData#uris()`. |

## Public functions

### fromBundle

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

```
java-static fun fromBundle(bundle: Bundle): FileHandlingData
```

Unpacks the object from a `https://developer.android.com/reference/android/os/Bundle.html`.

### toBundle

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

```
fun toBundle(): Bundle
```

Packs the object into a `https://developer.android.com/reference/android/os/Bundle.html`

## Public properties

### uris

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

```
val uris: (Mutable)List<Uri!>
```

URIs of files to be handled.