AutofillWebMessageRequest

data class AutofillWebMessageRequest(val requestOrigin: String, val originalPageUrl: String?, val requestId: String) : Parcelable

When there is an autofill request to be handled that requires user-interaction, we need to know where the request came from when later responding

This is metadata about the WebMessage request that was received from the JS.

Constructors

Link copied to clipboard
constructor(requestOrigin: String, originalPageUrl: String?, requestId: String)

Properties

Link copied to clipboard

The user-facing URL of the page where the autofill request originated

Link copied to clipboard

The ID of the original request from the JS. This request ID is required in order to later provide a response using the web message reply API

Link copied to clipboard

The origin of the request. Note, this may be a different origin than the page the user is currently on if the request came from an iframe

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)