Liking cljdoc? Tell your friends :D

chromex.app.easy-unlock-private

clj

chrome.easyUnlockPrivate API that provides hooks to Chrome to be used by Easy Unlock component app.

  • available since Chrome 38
chrome.easyUnlockPrivate API that provides hooks to Chrome to
be used by Easy Unlock component app.

  * available since Chrome 38
raw docstring

api-tableclj

source

find-setup-connectionclj/smacro

(find-setup-connection setup-service-uuid time-out)

Finds and connects the remote BLE device that is advertising: |setupServiceUUID|. Returns when a connection is found or |timeOut| seconds have elapsed.

|setup-service-uuid| - ? |time-out| - ?

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

|connection-id| - The identifier of the connection found. To be used in future calls refering to this connection.

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.

Finds and connects the remote BLE device that is advertising: |setupServiceUUID|. Returns when a connection is found or
|timeOut| seconds have elapsed.

  |setup-service-uuid| - ?
  |time-out| - ?

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

  |connection-id| - The identifier of the connection found. To be used in future calls refering to this connection.

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

find-setup-connection*cljs

(find-setup-connection* config setup-service-uuid time-out)
source

gen-callclj

source

gen-wrapclj/smacro

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

get-stringsclj/smacro

(get-strings)

Gets localized strings required to render the API.

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

|strings| - ?

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 localized strings required to render the API.

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

  |strings| - ?

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-strings*cljs

(get-strings* config)
source

hide-error-bubbleclj/smacro

(hide-error-bubble)

Hides the currently visible error bubble, if there is one.

Hides the currently visible error bubble, if there is one.
sourceraw docstring

hide-error-bubble*cljs

(hide-error-bubble* config)
source

on-connection-status-changed*cljs

(on-connection-status-changed* config channel & args)
source

on-data-received*cljs

(on-data-received* config channel & args)
source

on-send-completed*cljs

(on-send-completed* config channel & args)
source

setup-connection-disconnectclj/smacro

(setup-connection-disconnect connection-id)

Disconnects the connection with |connectionId|.

|connection-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.

Disconnects the connection with |connectionId|.

  |connection-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

setup-connection-disconnect*cljs

(setup-connection-disconnect* config connection-id)
source

setup-connection-sendclj/smacro

(setup-connection-send connection-id data)

Sends |data| through the connection with |connnectionId|.

|connection-id| - ? |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.

Sends |data| through the connection with |connnectionId|.

  |connection-id| - ?
  |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

setup-connection-send*cljs

(setup-connection-send* config connection-id data)
source

show-error-bubbleclj/smacro

(show-error-bubble message link-range link-target anchor-rect)

Shows an error bubble with the given |message|, anchored to an edge of the given |anchorRect| -- typically the right edge, but possibly a different edge if there is not space for the bubble to the right of the anchor rectangle. If the |link_range| is non-empty, renders the text within the |message| that is contained in the |link_range| as a link with the given |link_target| URL.

|message| - ? |link-range| - ? |link-target| - ? |anchor-rect| - ?

Shows an error bubble with the given |message|, anchored to an edge of the given |anchorRect| -- typically the right edge,
but possibly a different edge if there is not space for the bubble to the right of the anchor rectangle. If the
|link_range| is non-empty, renders the text within the |message| that is contained in the |link_range| as a link with the
given |link_target| URL.

  |message| - ?
  |link-range| - ?
  |link-target| - ?
  |anchor-rect| - ?
sourceraw docstring

show-error-bubble*cljs

(show-error-bubble* config message link-range link-target anchor-rect)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

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

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

tap-on-connection-status-changed-eventsclj/smacro

(tap-on-connection-status-changed-events channel & args)

Event fired when |connectionId| change status.

Events will be put on the |channel| with signature [::on-connection-status-changed [connection-id old-status new-status]] where:

|connection-id| - ? |old-status| - ? |new-status| - ?

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

Event fired when |connectionId| change status.

Events will be put on the |channel| with signature [::on-connection-status-changed [connection-id old-status new-status]]
where:

  |connection-id| - ?
  |old-status| - ?
  |new-status| - ?

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

tap-on-data-received-eventsclj/smacro

(tap-on-data-received-events channel & args)

Event fired when |connectionId| receives |data|.

Events will be put on the |channel| with signature [::on-data-received [connection-id data]] where:

|connection-id| - ? |data| - ?

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

Event fired when |connectionId| receives |data|.

Events will be put on the |channel| with signature [::on-data-received [connection-id data]] where:

  |connection-id| - ?
  |data| - ?

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

tap-on-send-completed-eventsclj/smacro

(tap-on-send-completed-events channel & args)

Event fired when |connectionId| sends |data|. |success| is true if the send operation was successful.

Events will be put on the |channel| with signature [::on-send-completed [connection-id data success]] where:

|connection-id| - ? |data| - ? |success| - ?

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

Event fired when |connectionId| sends |data|. |success| is true if the send operation was successful.

Events will be put on the |channel| with signature [::on-send-completed [connection-id data success]] where:

  |connection-id| - ?
  |data| - ?
  |success| - ?

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

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

× close