Liking cljdoc? Tell your friends :D

chromex.app.echo-private

clj
  • available since Chrome 27
  * available since Chrome 27
raw docstring

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

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

get-offer-infoclj/smacro

(get-offer-info id)

Check in Local State for the offer info.

|id| - The service id of the offer eligibility check.

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| - The returned offer info. If the offer info is not available, api will raise error.

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.

Check in Local State for the offer info.

  |id| - The service id of the offer eligibility check.

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| - The returned offer info. If the offer info is not available, api will raise error.

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-offer-info*cljs

(get-offer-info* config id)
source

get-oobe-timestampclj/smacro

(get-oobe-timestamp)

Get the OOBE timestamp.

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| - The OOBE timestamp.

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 OOBE timestamp.

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| - The OOBE timestamp.

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-oobe-timestamp*cljs

(get-oobe-timestamp* config)
source

get-registration-codeclj/smacro

(get-registration-code type)

Get the group or coupon code from underlying storage.

|type| - Type of coupon code requested to be read (coupon or group).

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| - The coupon code.

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 group or coupon code from underlying storage.

  |type| - Type of coupon code requested to be read (coupon or group).

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| - The coupon code.

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-registration-code*cljs

(get-registration-code* config type)
source

(get-user-consent consent-requester)

If device policy allows user to redeem offer, displays a native dialog asking user for a consent to verify device's eligibility for the offer. If the device policy forbids user to redeem offers, displays a native dialog informing user the offer redeeming is disabled.

|consent-requester| - Information about the service requesting user consent.

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| - Whether the user consent was given.

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.

If device policy allows user to redeem offer, displays a native dialog asking user for a consent to verify device's
eligibility for the offer. If the device policy forbids user to redeem offers, displays a native dialog informing user the
offer redeeming is disabled.

  |consent-requester| - Information about the service requesting user consent.

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| - Whether the user consent was given.

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-user-consent*cljs

(get-user-consent* config consent-requester)
source

set-offer-infoclj/smacro

(set-offer-info id offer-info)

Sets the offer info in Local State.

|id| - The service id of the echo offer. |offer-info| - The offer info.

Sets the offer info in Local State.

|id| - The service id of the echo offer.
|offer-info| - The offer info.
sourceraw docstring

set-offer-info*cljs

(set-offer-info* config id offer-info)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

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

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

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

× close