Use the chrome.autofillAssistantPrivate API to interact with the Autofill Assistant execution engine. Access is restricted to a set of extensions part of an allowlist.
The correct usage of this API is to to first call create, then add listeners for the Events and then call start. onActionsChanged will be called when actions become available and can be executed via performAction.
Use the chrome.autofillAssistantPrivate API to interact with the Autofill Assistant execution engine. Access is restricted to a set of extensions part of an allowlist. The correct usage of this API is to to first call create, then add listeners for the Events and then call start. onActionsChanged will be called when actions become available and can be executed via performAction. * available since Chrome master
(create)
Creates the autofill assistant controller and cleans up and existing controller if applicable.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [].
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Creates the autofill assistant controller and cleans up and existing controller if applicable. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is []. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(perform-action index)
Performs an action.
|index| - The index into the |actions| array provided by |onActionsChanged|.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [].
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Performs an action. |index| - The index into the |actions| array provided by |onActionsChanged|. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is []. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(provide-user-data)
Set user data to configure collect data actions.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [].
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Set user data to configure collect data actions. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is []. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(start parameters)
Starts the controller with the given parameters.
|parameters| - ?
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [].
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Starts the controller with the given parameters. |parameters| - ? This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is []. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.ext.autofill-assistant-private namespace.
Taps all valid non-deprecated events in chromex.ext.autofill-assistant-private namespace.
(tap-on-actions-changed-events channel & args)
Fires when a set of actions has changed.|actions| The new list of available actions.
Events will be put on the |channel| with signature [::on-actions-changed [actions]] where:
|actions| - ?
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fires when a set of actions has changed.|actions| The new list of available actions. Events will be put on the |channel| with signature [::on-actions-changed [actions]] where: |actions| - ? Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
(tap-on-status-message-changed-events channel & args)
Fires when the status message changed.|message| The new status of the autofill assistant controller.
Events will be put on the |channel| with signature [::on-status-message-changed [message]] where:
|message| - ?
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fires when the status message changed.|message| The new status of the autofill assistant controller. Events will be put on the |channel| with signature [::on-status-message-changed [message]] where: |message| - ? Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close