trigger

suspend fun trigger(args: Autofill.TriggerParameter, mode: CommandMode = CommandMode.DEFAULT)

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)

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.