Liking cljdoc? Tell your friends :D

chromex.app.cec-private

clj

Private API for HDMI CEC functionality.

  • available since Chrome 68
Private API for HDMI CEC functionality.

* available since Chrome 68
raw docstring

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

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

query-display-cec-power-stateclj/smacro

(query-display-cec-power-state)

Queries all HDMI CEC capable displays for their current power 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 [power-states] where:

|power-states| - ?

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.

Queries all HDMI CEC capable displays for their current power 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 [power-states] where:

  |power-states| - ?

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

query-display-cec-power-state*cljs

(query-display-cec-power-state* config)
source

send-stand-byclj/smacro

(send-stand-by)

Attempt to put all HDMI CEC compatible devices in standby.This is not guaranteed to have any effect on the connected displays. Displays that do not support HDMI CEC will not be affected.|callback| will be run as soon as all displays have been requested to change their power 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.

Attempt to put all HDMI CEC compatible devices in standby.This is not guaranteed to have any effect on the connected
displays. Displays that do not support HDMI CEC will not be affected.|callback| will be run as soon as all displays have
been requested to change their power 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

send-stand-by*cljs

(send-stand-by* config)
source

send-wake-upclj/smacro

(send-wake-up)

Attempt to announce this device as the active input source towards all HDMI CEC enabled displays connected, waking them from standby if necessary.|callback| will be run as soon as all displays have been requested to change their power 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.

Attempt to announce this device as the active input source towards all HDMI CEC enabled displays connected, waking them
from standby if necessary.|callback| will be run as soon as all displays have been requested to change their power 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

send-wake-up*cljs

(send-wake-up* config)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.app.cec-private namespace.

Taps all valid non-deprecated events in chromex.app.cec-private namespace.
sourceraw docstring

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

× close