Private API for HDMI CEC functionality.
Private API for HDMI CEC functionality. * available since Chrome 68
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close