trigger
Trigger autofill on a form identified by the fieldId. If the field and related form cannot be autofilled, returns an error.
suspend fun trigger(fieldId: Int, frameId: String? = null, card: Autofill.CreditCard? = null, address: Autofill.Address? = null)
Trigger autofill on a form identified by the fieldId. If the field and related form cannot be autofilled, returns an error.
Parameters
fieldId
Identifies a field that serves as an anchor for autofill.
frameId
Identifies the frame that field belongs to.
card
Credit card information to fill out the form. Credit card data is not saved. Mutually exclusive with address.
address
Address to fill out the form. Address data is not saved. Mutually exclusive with card.