Liking cljdoc? Tell your friends :D
Mostly clj/s.
Exceptions indicated.

chromex.ext.autotest-private

clj

API for integration testing. To be used on test images with a test component extension.

  • available since Chrome 34
API for integration testing. To be used on test images with a test component
extension.

  * available since Chrome 34
raw docstring

activate-acceleratorclj/smacro

(activate-accelerator accelerator)

Activates shortcut.

|accelerator| - the accelerator to activate.

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 [success] where:

|success| - ?

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.

Activates shortcut.

  |accelerator| - the accelerator to activate.

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 [success] where:

  |success| - ?

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.
sourceraw docstring

activate-accelerator*cljs

(activate-accelerator* config accelerator)
source

activate-desk-at-indexclj/smacro

(activate-desk-at-index index)

Activates the desk at the given |index| triggering the activate-desk animation.

|index| - the zero-based index of the desk desired to be activated.

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 [success] where:

|success| - ?

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.

Activates the desk at the given |index| triggering the activate-desk animation.

  |index| - the zero-based index of the desk desired to be activated.

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 [success] where:

  |success| - ?

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.
sourceraw docstring

activate-desk-at-index*cljs

(activate-desk-at-index* config index)
source

api-tableclj

source

arc-app-tracing-startclj/smacro

(arc-app-tracing-start)

Start ARC performance tracing for the active ARC app window.

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 ARC performance tracing for the active ARC app window.

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.
sourceraw docstring

arc-app-tracing-start*cljs

(arc-app-tracing-start* config)
source

arc-app-tracing-stop-and-analyzeclj/smacro

(arc-app-tracing-stop-and-analyze)

Stop ARC performance tracing if it was started and analyze results.

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 [info] where:

|info| - ?

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.

Stop ARC performance tracing if it was started and analyze results.

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 [info] where:

  |info| - ?

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.
sourceraw docstring

arc-app-tracing-stop-and-analyze*cljs

(arc-app-tracing-stop-and-analyze* config)
source

bootstrap-machine-learning-serviceclj/smacro

(bootstrap-machine-learning-service)

Makes a basic request to ML Service, triggering 1. ML Service daemon startup, and 2. the initial D-Bus -> Mojo IPC bootstrap.

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.

Makes a basic request to ML Service, triggering 1. ML Service daemon startup, and 2. the initial D-Bus -> Mojo IPC
bootstrap.

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.
sourceraw docstring

bootstrap-machine-learning-service*cljs

(bootstrap-machine-learning-service* config)
source

close-appclj/smacro

(close-app app-id)

Closes an application the given appId in case it was running.

|app-id| - ?

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.

Closes an application the given appId in case it was running.

  |app-id| - ?

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.
sourceraw docstring

close-app*cljs

(close-app* config app-id)
source

close-app-windowclj/smacro

(close-app-window id)

Closes an app window given by 'id'.

|id| - the id of the window

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.

Closes an app window given by 'id'.

  |id| - the id of the window

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.
sourceraw docstring

close-app-window*cljs

(close-app-window* config id)
source

create-new-deskclj/smacro

(create-new-desk)

Creates a new desk if the maximum number of desks has not been reached.

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 [success] where:

|success| - ?

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 a new desk if the maximum number of desks has not been reached.

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 [success] where:

  |success| - ?

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.
sourceraw docstring

create-new-desk*cljs

(create-new-desk* config)
source

enable-assistant-and-wait-for-readyclj/smacro

(enable-assistant-and-wait-for-ready)

Bring up the Assistant service, and wait for the ready signal.

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.

Bring up the Assistant service, and wait for the ready signal.

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.
sourceraw docstring

enable-assistant-and-wait-for-ready*cljs

(enable-assistant-and-wait-for-ready* config)
source

export-crostiniclj/smacro

(export-crostini path)

Export the crostini container.

|path| - The path in Downloads to save the export.

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.

Export the crostini container.

  |path| - The path in Downloads to save the export.

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.
sourceraw docstring

export-crostini*cljs

(export-crostini* config path)
source

gen-callclj

source

gen-wrapclj/smacro

(gen-wrap kind item-id config & args)
source

get-all-enterprise-policiesclj/smacro

(get-all-enterprise-policies)

Get state of the policies. Will contain device policies and policies from the active profile. The policy values are formatted as they would be for exporting in chrome://policy.

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 [all-policies] where:

|all-policies| - ?

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.

Get state of the policies. Will contain device policies and policies from the active profile. The policy values are
formatted as they would be for exporting in chrome://policy.

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 [all-policies] where:

  |all-policies| - ?

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.
sourceraw docstring

get-all-enterprise-policies*cljs

(get-all-enterprise-policies* config)
source

get-all-installed-appsclj/smacro

(get-all-installed-apps)

Get the list of all installed applications

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 [apps] where:

|apps| - ?

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.

Get the list of all installed applications

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 [apps] where:

  |apps| - ?

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.
sourceraw docstring

get-all-installed-apps*cljs

(get-all-installed-apps* config)
source

get-app-window-listclj/smacro

(get-app-window-list)

Get information on all application windows. Callback will be called with the list of |AppWindowInfo| dictionary.

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 [window-list] where:

|window-list| - ?

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.

Get information on all application windows. Callback will be called with the list of |AppWindowInfo| dictionary.

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 [window-list] where:

  |window-list| - ?

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.
sourceraw docstring

get-app-window-list*cljs

(get-app-window-list* config)
source

get-arc-appclj/smacro

(get-arc-app app-id)

Gets information about the requested ARC app.

|app-id| - ?

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 [package] where:

|package| - ?

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.

Gets information about the requested ARC app.

  |app-id| - ?

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 [package] where:

  |package| - ?

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.
sourceraw docstring

get-arc-app*cljs

(get-arc-app* config app-id)
source

get-arc-packageclj/smacro

(get-arc-package package-name)

Gets information about requested ARC package.

|package-name| - ?

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 [package] where:

|package| - ?

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.

Gets information about requested ARC package.

  |package-name| - ?

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 [package] where:

  |package| - ?

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.
sourceraw docstring

get-arc-package*cljs

(get-arc-package* config package-name)
source

get-arc-start-timeclj/smacro

(get-arc-start-time)

Get ARC start time.

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 [start-time] where:

|start-time| - ?

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.

Get ARC start time.

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 [start-time] where:

  |start-time| - ?

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.
sourceraw docstring

get-arc-start-time*cljs

(get-arc-start-time* config)
source

get-arc-stateclj/smacro

(get-arc-state)

Get state of the ARC session.

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 [result] where:

|result| - ?

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.

Get state of the ARC session.

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 [result] where:

  |result| - ?

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.
sourceraw docstring

get-arc-state*cljs

(get-arc-state* config)
source

get-clipboard-text-dataclj/smacro

(get-clipboard-text-data)

Get text from ui::Clipboard.

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 [data] where:

|data| - ?

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.

Get text from ui::Clipboard.

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 [data] where:

  |data| - ?

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.
sourceraw docstring

get-clipboard-text-data*cljs

(get-clipboard-text-data* config)
source

get-extensions-infoclj/smacro

(get-extensions-info)

Get info about installed extensions.

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 [info] where:

|info| - ?

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.

Get info about installed extensions.

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 [info] where:

  |info| - ?

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.
sourceraw docstring

get-extensions-info*cljs

(get-extensions-info* config)
source

get-histogramclj/smacro

(get-histogram name)

Get details about a histogram displayed at chrome://histogram.

|name| - Histogram name, e.g. 'Accessibility.CrosAutoclick'.

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 [histogram] where:

|histogram| - ?

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.

Get details about a histogram displayed at chrome://histogram.

  |name| - Histogram name, e.g. 'Accessibility.CrosAutoclick'.

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 [histogram] where:

  |histogram| - ?

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.
sourceraw docstring

get-histogram*cljs

(get-histogram* config name)
source

get-play-store-stateclj/smacro

(get-play-store-state)

Get state of the Play Store.

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 [result] where:

|result| - ?

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.

Get state of the Play Store.

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 [result] where:

  |result| - ?

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.
sourceraw docstring

get-play-store-state*cljs

(get-play-store-state* config)
source

get-primary-display-scale-factorclj/smacro

(get-primary-display-scale-factor)

Get the primary display scale factor. |callback| is invoked with the scale factor.

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 [scale-factor] where:

|scale-factor| - ?

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.

Get the primary display scale factor. |callback| is invoked with the scale factor.

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 [scale-factor] where:

  |scale-factor| - ?

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.
sourceraw docstring

get-primary-display-scale-factor*cljs

(get-primary-display-scale-factor* config)
source

get-printer-listclj/smacro

(get-printer-list)

Get list of available printers

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 [printers] where:

|printers| - ?

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.

Get list of available printers

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 [printers] where:

  |printers| - ?

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.
sourceraw docstring

get-printer-list*cljs

(get-printer-list* config)
source

get-shelf-alignmentclj/smacro

(get-shelf-alignment display-id)

Get the shelf alignment.

|display-id| - display that contains the shelf. |callback| is invoked with the shelf alignment type.

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 [alignment] where:

|alignment| - ?

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.

Get the shelf alignment.

  |display-id| - display that contains the shelf. |callback| is invoked with the shelf alignment type.

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 [alignment] where:

  |alignment| - ?

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.
sourceraw docstring

get-shelf-alignment*cljs

(get-shelf-alignment* config display-id)
source

get-shelf-auto-hide-behaviorclj/smacro

(get-shelf-auto-hide-behavior display-id)

Get the shelf auto hide behavior.

|display-id| - display that contains the shelf. |callback| is invoked with the shelf auto hide behavior. Possible behavior values are: 'always', 'never' or 'hidden'.

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 [behavior] where:

|behavior| - ?

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.

Get the shelf auto hide behavior.

  |display-id| - display that contains the shelf. |callback| is invoked with the shelf auto hide behavior. Possible
                 behavior values are: 'always', 'never' or 'hidden'.

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 [behavior] where:

  |behavior| - ?

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.
sourceraw docstring

get-shelf-auto-hide-behavior*cljs

(get-shelf-auto-hide-behavior* config display-id)
source

get-shelf-itemsclj/smacro

(get-shelf-items)

Get the list of all shelf items

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 [items] where:

|items| - ?

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.

Get the list of all shelf items

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 [items] where:

  |items| - ?

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.
sourceraw docstring

get-shelf-items*cljs

(get-shelf-items* config)
source

get-visible-notificationsclj/smacro

(get-visible-notifications)

Get visible notifications on the system.

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 [notifications] where:

|notifications| - ?

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.

Get visible notifications on the system.

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 [notifications] where:

  |notifications| - ?

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.
sourceraw docstring

get-visible-notifications*cljs

(get-visible-notifications* config)
source

import-crostiniclj/smacro

(import-crostini path)

Import the crostini container.

|path| - The path in Downloads to read the import.

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.

Import the crostini container.

  |path| - The path in Downloads to read the import.

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.
sourceraw docstring

import-crostini*cljs

(import-crostini* config path)
source

initialize-eventsclj/smacro

(initialize-events)

Must be called to allow autotestPrivateAPI events to be fired.

Must be called to allow autotestPrivateAPI events to be fired.
sourceraw docstring

initialize-events*cljs

(initialize-events* config)
source

install-plugin-vmclj/smacro

(install-plugin-vm image-url image-hash license-key)

Installs Plugin VM via the installer and then launches the VM.

|image-url| - URL to the image to install. |image-hash| - Hash for the provided image. |license-key| - License key for Plugin VM.

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.

Installs Plugin VM via the installer and then launches the VM.

  |image-url| - URL to the image to install.
  |image-hash| - Hash for the provided image.
  |license-key| - License key for Plugin VM.

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.
sourceraw docstring

install-plugin-vm*cljs

(install-plugin-vm* config image-url image-hash license-key)
source

install-pwa-for-current-urlclj/smacro

(install-pwa-for-current-url timeout-ms)

Installs the Progressive Web App (PWA) that is in the current URL.

|timeout-ms| - Timeout in milliseconds for the operation to complete.

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 [app-id] where:

|app-id| - ?

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.

Installs the Progressive Web App (PWA) that is in the current URL.

  |timeout-ms| - Timeout in milliseconds for the operation to complete.

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 [app-id] where:

  |app-id| - ?

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.
sourceraw docstring

install-pwa-for-current-url*cljs

(install-pwa-for-current-url* config timeout-ms)
source

is-app-shownclj/smacro

(is-app-shown app-id)

Returns true if requested app is shown in Chrome.

|app-id| - ?

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 [app-shown] where:

|app-shown| - ?

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.

Returns true if requested app is shown in Chrome.

  |app-id| - ?

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 [app-shown] where:

  |app-shown| - ?

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.
sourceraw docstring

is-app-shown*cljs

(is-app-shown* config app-id)
source

is-arc-package-list-initial-refreshedclj/smacro

(is-arc-package-list-initial-refreshed)

Whether the local list of installed ARC packages has been refreshed for the first time after user login.

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 [refreshed] where:

|refreshed| - ?

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.

Whether the local list of installed ARC packages has been refreshed for the first time after user login.

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 [refreshed] where:

  |refreshed| - ?

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.
sourceraw docstring

is-arc-package-list-initial-refreshed*cljs

(is-arc-package-list-initial-refreshed* config)
source

is-arc-provisionedclj/smacro

(is-arc-provisioned)

Returns true if ARC is provisioned. [deprecated='Use getArcState()']

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 [arc-provisioned] where:

|arc-provisioned| - ?

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.

Returns true if ARC is provisioned. [deprecated='Use getArcState()']

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 [arc-provisioned] where:

  |arc-provisioned| - ?

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.
sourceraw docstring

is-arc-provisioned*cljs

(is-arc-provisioned* config)
source

is-tablet-mode-enabledclj/smacro

(is-tablet-mode-enabled)

Get the tablet mode enabled status. |callback| is invoked with the tablet mode enablement status.

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 [enabled] where:

|enabled| - ?

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.

Get the tablet mode enabled status. |callback| is invoked with the tablet mode enablement status.

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 [enabled] where:

  |enabled| - ?

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.
sourceraw docstring

is-tablet-mode-enabled*cljs

(is-tablet-mode-enabled* config)
source

launch-appclj/smacro

(launch-app app-id)

Launches an application from the launcher with the given appId.

|app-id| - ?

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.

Launches an application from the launcher with the given appId.

  |app-id| - ?

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.
sourceraw docstring

launch-app*cljs

(launch-app* config app-id)
source

launch-arc-appclj/smacro

(launch-arc-app app-id intent)

Launches ARC app with optional intent. Returns true if ARC is active, app exists and launch request is passed to Android.

|app-id| - ? |intent| - ?

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 [app-launched] where:

|app-launched| - ?

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.

Launches ARC app with optional intent. Returns true if ARC is active, app exists and launch request is passed to Android.

  |app-id| - ?
  |intent| - ?

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 [app-launched] where:

  |app-launched| - ?

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.
sourceraw docstring

launch-arc-app*cljs

(launch-arc-app* config app-id intent)
source

lock-screenclj/smacro

(lock-screen)

Locks the screen.

Locks the screen.
sourceraw docstring

lock-screen*cljs

(lock-screen* config)
source

login-statusclj/smacro

(login-status)

Get login status.

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 [status] where:

|status| - ?

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.

Get login status.

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 [status] where:

  |status| - ?

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.
sourceraw docstring

login-status*cljs

(login-status* config)
source

logoutclj/smacro

(logout)

Logout of a user session.

Logout of a user session.
sourceraw docstring

logout*cljs

(logout* config)
source

mouse-clickclj/smacro

(mouse-click button)

Create mouse events to cause a mouse click.

|button| - the mouse button for the click event.

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.

Create mouse events to cause a mouse click.

  |button| - the mouse button for the click event.

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.
sourceraw docstring

mouse-click*cljs

(mouse-click* config button)
source

mouse-moveclj/smacro

(mouse-move location duration-in-ms)

Create mouse events to move a mouse cursor to the location. This can cause a dragging if a button is pressed. It starts from the last mouse location. It does not support the move or drag across display boundaries.

|location| - the target location (in display's coordinate). |duration-in-ms| - the duration (in milliseconds) for the mouse movement. The mouse will move linearly. 0 means moving immediately.

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.

Create mouse events to move a mouse cursor to the location. This can cause a dragging if a button is pressed. It starts
from the last mouse location. It does not support the move or drag across display boundaries.

  |location| - the target location (in display's coordinate).
  |duration-in-ms| - the duration (in milliseconds) for the mouse movement.    The mouse will move linearly. 0 means
                     moving immediately.

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.
sourceraw docstring

mouse-move*cljs

(mouse-move* config location duration-in-ms)
source

mouse-pressclj/smacro

(mouse-press button)

Create a mouse event to cause mouse pressing. The mouse button stays in the pressed state.

|button| - the mouse button to be pressed.

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.

Create a mouse event to cause mouse pressing. The mouse button stays in the pressed state.

  |button| - the mouse button to be pressed.

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.
sourceraw docstring

mouse-press*cljs

(mouse-press* config button)
source

mouse-releaseclj/smacro

(mouse-release button)

Create a mouse event to release a mouse button. This does nothing and returns immediately if the specified button is not pressed.

|button| - the mouse button to be released.

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.

Create a mouse event to release a mouse button. This does nothing and returns immediately if the specified button is not
pressed.

  |button| - the mouse button to be released.

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.
sourceraw docstring

mouse-release*cljs

(mouse-release* config button)
source

on-clipboard-data-changed*cljs

(on-clipboard-data-changed* config channel & args)
source

refresh-enterprise-policiesclj/smacro

(refresh-enterprise-policies)

Refreshes the Enterprise Policies.

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.

Refreshes the Enterprise Policies.

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.
sourceraw docstring

refresh-enterprise-policies*cljs

(refresh-enterprise-policies* config)
source

register-componentclj/smacro

(register-component name path)

Register a component with CrOSComponentManager.

|name| - The name of the component. |path| - Path to the component.

Register a component with CrOSComponentManager.

|name| - The name of the component.
|path| - Path to the component.
sourceraw docstring

register-component*cljs

(register-component* config name path)
source

remove-active-deskclj/smacro

(remove-active-desk)

Removes the currently active desk and triggers the remove-desk animation.

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 [success] where:

|success| - ?

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.

Removes the currently active desk and triggers the remove-desk animation.

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 [success] where:

  |success| - ?

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.
sourceraw docstring

remove-active-desk*cljs

(remove-active-desk* config)
source

remove-printerclj/smacro

(remove-printer printer-id)

Remove printer.

|printer-id| - ?

Remove printer.

|printer-id| - ?
sourceraw docstring

remove-printer*cljs

(remove-printer* config printer-id)
source

restartclj/smacro

(restart)

Restart the browser.

Restart the browser.
sourceraw docstring

restart*cljs

(restart* config)
source

run-crostini-installerclj/smacro

(run-crostini-installer)

Run the crostini installer GUI to install the default crostini vm / container and create sshfs mount. The installer launches the crostini terminal app on completion. The installer expects that crostini is not already installed.

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.

Run the crostini installer GUI to install the default crostini vm / container and create sshfs mount.  The installer
launches the crostini terminal app on completion.  The installer expects that crostini is not already installed.

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.
sourceraw docstring

run-crostini-installer*cljs

(run-crostini-installer* config)
source

run-crostini-uninstallerclj/smacro

(run-crostini-uninstaller)

Run the crostini uninstaller GUI to remove the default crostini vm / container. The callback is invoked upon completion.

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.

Run the crostini uninstaller GUI to remove the default crostini vm / container. The callback is invoked upon completion.

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.
sourceraw docstring

run-crostini-uninstaller*cljs

(run-crostini-uninstaller* config)
source

send-assistant-text-queryclj/smacro

(send-assistant-text-query query timeout-ms)

Sends a text query via Google Assistant.

|query| - ? |timeout-ms| - ?

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 [status] where:

|status| - ?

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.

Sends a text query via Google Assistant.

  |query| - ?
  |timeout-ms| - ?

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 [status] where:

  |status| - ?

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.
sourceraw docstring

send-assistant-text-query*cljs

(send-assistant-text-query* config query timeout-ms)
source

set-app-window-stateclj/smacro

(set-app-window-state id change)

Send WM event to change the app window's window state.

|id| - the id of the window |change| - WM event type to send to the app window.

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 [current-type] where:

|current-type| - ?

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.

Send WM event to change the app window's window state.

  |id| - the id of the window
  |change| - WM event type to send to the app window.

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 [current-type] where:

  |current-type| - ?

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.
sourceraw docstring

set-app-window-state*cljs

(set-app-window-state* config id change)
source

set-arc-app-window-focusclj/smacro

(set-arc-app-window-focus package-name)

Set ARC app window focused.

|package-name| - the package name of the ARC app window.

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 ARC app window focused.

  |package-name| - the package name of the ARC app window.

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.
sourceraw docstring

set-arc-app-window-focus*cljs

(set-arc-app-window-focus* config package-name)
source

set-arc-touch-modeclj/smacro

(set-arc-touch-mode enabled)

Sends ARC touch mode enabled or disabled.

|enabled| - ?

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.

Sends ARC touch mode enabled or disabled.

  |enabled| - ?

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.
sourceraw docstring

set-arc-touch-mode*cljs

(set-arc-touch-mode* config enabled)
source

set-assistant-enabledclj/smacro

(set-assistant-enabled enabled timeout-ms)

Enables/disables the Google Assistant.

|enabled| - ? |timeout-ms| - ?

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.

Enables/disables the Google Assistant.

  |enabled| - ?
  |timeout-ms| - ?

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.
sourceraw docstring

set-assistant-enabled*cljs

(set-assistant-enabled* config enabled timeout-ms)
source

set-clipboard-text-dataclj/smacro

(set-clipboard-text-data data)

Set text in ui::Clipbaord.

|data| - ?

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 text in ui::Clipbaord.

  |data| - ?

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.
sourceraw docstring

set-clipboard-text-data*cljs

(set-clipboard-text-data* config data)
source

set-crostini-app-scaledclj/smacro

(set-crostini-app-scaled app-id scaled)

Enable/disable a Crostini app's 'scaled' property.

|app-id| - The Crostini application ID. |scaled| - The app is 'scaled' when shown, which means it uses low display density.

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.

Enable/disable a Crostini app's 'scaled' property.

  |app-id| - The Crostini application ID.
  |scaled| - The app is 'scaled' when shown, which means it uses low display           density.

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.
sourceraw docstring

set-crostini-app-scaled*cljs

(set-crostini-app-scaled* config app-id scaled)
source

set-crostini-enabledclj/smacro

(set-crostini-enabled enabled)

Enable/disable Crostini in preferences.

|enabled| - Enable Crostini.

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.

Enable/disable Crostini in preferences.

  |enabled| - Enable Crostini.

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.
sourceraw docstring

set-crostini-enabled*cljs

(set-crostini-enabled* config enabled)
source

set-metrics-enabledclj/smacro

(set-metrics-enabled enabled)

Enable/disable metrics reporting in preferences.

|enabled| - Enable metrics reporting.

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.

Enable/disable metrics reporting in preferences.

  |enabled| - Enable metrics reporting.

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.
sourceraw docstring

set-metrics-enabled*cljs

(set-metrics-enabled* config enabled)
source

set-mouse-reverse-scrollclj/smacro

(set-mouse-reverse-scroll enabled)

Turn on/off reverse scrolling for mice.

|enabled| - if set, enable reverse scrolling.

Turn on/off reverse scrolling for mice.

|enabled| - if set, enable reverse scrolling.
sourceraw docstring

set-mouse-reverse-scroll*cljs

(set-mouse-reverse-scroll* config enabled)
source

set-mouse-sensitivityclj/smacro

(set-mouse-sensitivity value)

Set the mouse pointer sensitivity setting.

|value| - the pointer sensitivity setting index.

Set the mouse pointer sensitivity setting.

|value| - the pointer sensitivity setting index.
sourceraw docstring

set-mouse-sensitivity*cljs

(set-mouse-sensitivity* config value)
source

set-natural-scrollclj/smacro

(set-natural-scroll enabled)

Turn on/off Australian scrolling for devices other than wheel mouse.

|enabled| - if set, enable Australian scrolling.

Turn on/off Australian scrolling for devices other than wheel mouse.

|enabled| - if set, enable Australian scrolling.
sourceraw docstring

set-natural-scroll*cljs

(set-natural-scroll* config enabled)
source

set-overview-mode-stateclj/smacro

(set-overview-mode-state start)

Enter or exit the overview mode.

|start| - whether entering to or exiting from the overview mode.

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 [finished] where:

|finished| - ?

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.

Enter or exit the overview mode.

  |start| - whether entering to or exiting from the overview mode.

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 [finished] where:

  |finished| - ?

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.
sourceraw docstring

set-overview-mode-state*cljs

(set-overview-mode-state* config start)
source

set-play-store-enabledclj/smacro

(set-play-store-enabled enabled)

Enable/disable the Play Store.

|enabled| - if set, enable the Play Store.

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.

Enable/disable the Play Store.

  |enabled| - if set, enable the Play Store.

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.
sourceraw docstring

set-play-store-enabled*cljs

(set-play-store-enabled* config enabled)
source

set-primary-button-rightclj/smacro

(set-primary-button-right right)

Swap the primary mouse button for left click.

|right| - if set, swap the primary mouse button.

Swap the primary mouse button for left click.

|right| - if set, swap the primary mouse button.
sourceraw docstring

set-primary-button-right*cljs

(set-primary-button-right* config right)
source

set-shelf-alignmentclj/smacro

(set-shelf-alignment display-id alignment)

Set the shelf alignment.

|display-id| - display that contains the shelf. |alignment| - the type of alignment to set.

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 the shelf alignment.

  |display-id| - display that contains the shelf.
  |alignment| - the type of alignment to set.

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.
sourceraw docstring

set-shelf-alignment*cljs

(set-shelf-alignment* config display-id alignment)
source

set-shelf-auto-hide-behaviorclj/smacro

(set-shelf-auto-hide-behavior display-id behavior)

Set the shelf auto hide behavior.

|display-id| - display that contains the shelf. |behavior| - an enum of 'always', 'never' or 'hidden'.

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 the shelf auto hide behavior.

  |display-id| - display that contains the shelf.
  |behavior| - an enum of 'always', 'never' or 'hidden'.

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.
sourceraw docstring

set-shelf-auto-hide-behavior*cljs

(set-shelf-auto-hide-behavior* config display-id behavior)
source

set-tablet-mode-enabledclj/smacro

(set-tablet-mode-enabled enabled)

Enable/disable tablet mode. After calling this function, it won't be possible to physically switch to/from tablet mode since that functionality will be disabled.

|enabled| - if set, enable tablet mode.

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 [enabled] where:

|enabled| - ?

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.

Enable/disable tablet mode. After calling this function, it won't be possible to physically switch to/from tablet mode
since that functionality will be disabled.

  |enabled| - if set, enable tablet mode.

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 [enabled] where:

  |enabled| - ?

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.
sourceraw docstring

set-tablet-mode-enabled*cljs

(set-tablet-mode-enabled* config enabled)
source

set-tap-draggingclj/smacro

(set-tap-dragging enabled)

Turn on/off tap dragging for the touchpad.

|enabled| - if set, enable tap dragging.

Turn on/off tap dragging for the touchpad.

|enabled| - if set, enable tap dragging.
sourceraw docstring

set-tap-dragging*cljs

(set-tap-dragging* config enabled)
source

set-tap-to-clickclj/smacro

(set-tap-to-click enabled)

Turn on/off tap-to-click for the touchpad.

|enabled| - if set, enable tap-to-click.

Turn on/off tap-to-click for the touchpad.

|enabled| - if set, enable tap-to-click.
sourceraw docstring

set-tap-to-click*cljs

(set-tap-to-click* config enabled)
source

set-three-finger-clickclj/smacro

(set-three-finger-click enabled)

Turn on/off three finger click for the touchpad.

|enabled| - if set, enable three finger click.

Turn on/off three finger click for the touchpad.

|enabled| - if set, enable three finger click.
sourceraw docstring

set-three-finger-click*cljs

(set-three-finger-click* config enabled)
source

set-touchpad-sensitivityclj/smacro

(set-touchpad-sensitivity value)

Set the touchpad pointer sensitivity setting.

|value| - the pointer sensitivity setting index.

Set the touchpad pointer sensitivity setting.

|value| - the pointer sensitivity setting index.
sourceraw docstring

set-touchpad-sensitivity*cljs

(set-touchpad-sensitivity* config value)
source

set-whitelisted-prefclj/smacro

(set-whitelisted-pref pref-name value)

Set value for the specified user pref in the pref tree.

|pref-name| - ? |value| - ?

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 value for the specified user pref in the pref tree.

  |pref-name| - ?
  |value| - ?

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.
sourceraw docstring

set-whitelisted-pref*cljs

(set-whitelisted-pref* config pref-name value)
source

show-virtual-keyboard-if-enabledclj/smacro

(show-virtual-keyboard-if-enabled)

Show virtual keyboard of the current input method if it's available.

Show virtual keyboard of the current input method if it's available.
sourceraw docstring

show-virtual-keyboard-if-enabled*cljs

(show-virtual-keyboard-if-enabled* config)
source

shutdownclj/smacro

(shutdown force)

Shutdown the browser.

|force| - if set, ignore ongoing downloads and onunbeforeunload handlers.

Shutdown the browser.

|force| - if set, ignore ongoing downloads and onunbeforeunload handlers.
sourceraw docstring

shutdown*cljs

(shutdown* config force)
source

simulate-asan-memory-bugclj/smacro

(simulate-asan-memory-bug)

Simulates a memory access bug for asan testing.

Simulates a memory access bug for asan testing.
sourceraw docstring

simulate-asan-memory-bug*cljs

(simulate-asan-memory-bug* config)
source

start-tracingclj/smacro

(start-tracing config)

Starts Chrome tracing.

|config| - the tracing configuration.

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 Chrome tracing.

  |config| - the tracing configuration.

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.
sourceraw docstring

start-tracing*cljs

(start-tracing* config config)
source

stop-tracingclj/smacro

(stop-tracing)

Stops Chrome tracing.

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 [data] where:

|data| - ?

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.

Stops Chrome tracing.

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 [data] where:

  |data| - ?

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.
sourceraw docstring

stop-tracing*cljs

(stop-tracing* config)
source

swap-windows-in-split-viewclj/smacro

(swap-windows-in-split-view)

Swap the windows in the split view.

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.

Swap the windows in the split view.

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.
sourceraw docstring

swap-windows-in-split-view*cljs

(swap-windows-in-split-view* config)
source

take-screenshotclj/smacro

(take-screenshot)

Takes a screenshot and returns the data in base64 encoded PNG format.

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 [base64-png] where:

|base64-png| - ?

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.

Takes a screenshot and returns the data in base64 encoded PNG format.

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 [base64-png] where:

  |base64-png| - ?

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.
sourceraw docstring

take-screenshot*cljs

(take-screenshot* config)
source

take-screenshot-for-displayclj/smacro

(take-screenshot-for-display display-id)

Tasks a screenshot for a display.

|display-id| - the display id of the display.

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 [base64-png] where:

|base64-png| - ?

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.

Tasks a screenshot for a display.

  |display-id| - the display id of the display.

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 [base64-png] where:

  |base64-png| - ?

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.
sourceraw docstring

take-screenshot-for-display*cljs

(take-screenshot-for-display* config display-id)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.ext.autotest-private namespace.

Taps all valid non-deprecated events in chromex.ext.autotest-private namespace.
sourceraw docstring

tap-on-clipboard-data-changed-eventsclj/smacro

(tap-on-clipboard-data-changed-events channel & args)

Fired when the data in ui::Clipboard is changed.

Events will be put on the |channel| with signature [::on-clipboard-data-changed []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Fired when the data in ui::Clipboard is changed.

Events will be put on the |channel| with signature [::on-clipboard-data-changed []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

update-printerclj/smacro

(update-printer printer)

Update printer. Printer with empty ID is considered new.

|printer| - ?

Update printer. Printer with empty ID is considered new.

|printer| - ?
sourceraw docstring

update-printer*cljs

(update-printer* config printer)
source

wait-for-assistant-query-statusclj/smacro

(wait-for-assistant-query-status timeout-s)

Invokes |callback| once the current text/voice interaction is completed. Responds with the the query status if any valid response was caught before the timeout. This API should be called before sending the query. To use it for testing a voice query via OKG in Autotest, for example, you can do:// Enable hotword setting for Assistant. assistant_util.enable_hotword();// Call this API with your callback function. chrome.autotestPrivate.waitForAssistantQueryStatus(timeout_s, function(status) {...});then start Assistant via OKG and send voice query before timeout.TODO(meilinw@): disable warmer welcome to avoid an unintended early return of this API when launching Assistant via hotkey. TODO(meilinw@): update the comment above to use Tast instead after adding API to enable hotword in Tast.

|timeout-s| - ?

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 [status] where:

|status| - ?

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.

Invokes |callback| once the current text/voice interaction is completed. Responds with the the query status if any valid
response was caught before the timeout. This API should be called before sending the query. To use it for testing a voice
query via OKG in Autotest, for example, you can do:// Enable hotword setting for Assistant.
assistant_util.enable_hotword();// Call this API with your callback function.
chrome.autotestPrivate.waitForAssistantQueryStatus(timeout_s,        function(status) {...});then start Assistant via OKG
and send voice query before timeout.TODO(meilinw@): disable warmer welcome to avoid an unintended early return of this API
when launching Assistant via hotkey. TODO(meilinw@): update the comment above to use Tast instead after adding API to
enable hotword in Tast.

  |timeout-s| - ?

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 [status] where:

  |status| - ?

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.
sourceraw docstring

wait-for-assistant-query-status*cljs

(wait-for-assistant-query-status* config timeout-s)
source

wait-for-display-rotationclj/smacro

(wait-for-display-rotation display-id rotation)

Invokes the callback when the display rotation animation is finished, or invokes it immediately if it is not animating. The callback argument is true if the display's rotation is same as |rotation|, or false otherwise.

|display-id| - display that contains the shelf. |rotation| - the target rotation.

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 [success] where:

|success| - ?

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.

Invokes the callback when the display rotation animation is finished, or invokes it immediately if it is not animating. The
callback argument is true if the display's rotation is same as |rotation|, or false otherwise.

  |display-id| - display that contains the shelf.
  |rotation| - the target rotation.

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 [success] where:

  |success| - ?

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.
sourceraw docstring

wait-for-display-rotation*cljs

(wait-for-display-rotation* config display-id rotation)
source

wait-for-launcher-stateclj/smacro

(wait-for-launcher-state launcher-state)

Wwait until the launcher is transitionto the |launcherState|, if it's not in that state.

|launcher-state| - the target launcher state.

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.

Wwait until the launcher is transitionto the |launcherState|, if it's not in that state.

  |launcher-state| - the target launcher state.

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.
sourceraw docstring

wait-for-launcher-state*cljs

(wait-for-launcher-state* config launcher-state)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close