FileHandlingData


class FileHandlingData


Contains data to be delivered to the launch queue via a Trusted Web Activity. See setFileHandlingData.

Summary

Constants

const String!
KEY_URIS = "androidx.browser.trusted.KEY_URIS"

Bundle key for uris.

Public constructors

Creates a FileHandlingData with the given parameters.

Public functions

java-static FileHandlingData
fromBundle(bundle: Bundle)

Unpacks the object from a Bundle.

Bundle

Packs the object into a Bundle

Public properties

(Mutable)List<Uri!>

URIs of files to be handled.

Constants

KEY_URIS

Added in 1.9.0-alpha02
const val KEY_URIS = "androidx.browser.trusted.KEY_URIS": String!

Bundle key for uris.

Public constructors

FileHandlingData

Added in 1.9.0-alpha02
FileHandlingData(uris: (Mutable)List<Uri!>)

Creates a FileHandlingData with the given parameters.

Parameters
uris: (Mutable)List<Uri!>

The uris.

Public functions

fromBundle

Added in 1.9.0-alpha02
java-static fun fromBundle(bundle: Bundle): FileHandlingData

Unpacks the object from a Bundle.

toBundle

Added in 1.9.0-alpha02
fun toBundle(): Bundle

Packs the object into a Bundle

Public properties

uris

Added in 1.9.0-alpha02
val uris: (Mutable)List<Uri!>

URIs of files to be handled.