Liking cljdoc? Tell your friends :D

web.bluetooth.BluetoothDevice

The BluetoothDevice interface of the Web Bluetooth API represents Bluetooth device inside a particular script execution environment.

The BluetoothDevice interface of the Web Bluetooth API represents
Bluetooth device inside a particular script execution environment.
raw docstring

ad-datacljs

(ad-data this)

Property.

[Read Only] [Non Standard] [Obsolute]

The BluetoothDevice.adData read-only property returns instance web.bluetooth.BluetoothAdvertisingData containing the most advertising data received for the device.

var instanceOfBluetoothAdData = instanceOfBluetoothDevice.adData

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/adData

Property.

[Read Only]
[Non Standard]
[Obsolute]

The BluetoothDevice.adData read-only property returns instance
`web.bluetooth.BluetoothAdvertisingData` containing the most
advertising data received for the device.

`var instanceOfBluetoothAdData = instanceOfBluetoothDevice.adData`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/adData`
sourceraw docstring

connect-gattcljs

(connect-gatt this & args)

Method.

[Non Standard] [Obsolute]

The BluetoothDevice.connectGATT() method returns a js.Promise resolves to an instance of BluetoothGATTRemoteServer.

instanceOfBluetoothDevice.connectGATT().then(function(BluetoothGATTRemoteServer) { ... })

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/connectGATT

Method.

[Non Standard]
[Obsolute]

The BluetoothDevice.connectGATT() method returns a `js.Promise`
resolves to an instance of `BluetoothGATTRemoteServer`.

`instanceOfBluetoothDevice.connectGATT().then(function(BluetoothGATTRemoteServer) { ... })`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/connectGATT`
sourceraw docstring

device-classcljs

(device-class this)

Property.

[Read Only] [Non Standard] [Obsolute]

The BluetoothDevice.deviceClass read-only property returns a representing the Bluetooth devices "Class of Device".

var deviceClass = instanceOfBluetoothDevice.deviceClass

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/deviceClass

Property.

[Read Only]
[Non Standard]
[Obsolute]

The BluetoothDevice.deviceClass read-only property returns a
representing the Bluetooth devices \"Class of Device\".

`var deviceClass = instanceOfBluetoothDevice.deviceClass`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/deviceClass`
sourceraw docstring

gattcljs

(gatt this)

Property.

[Read Only] [Experimental]

The BluetoothDevice.gatt read-only property returns a reference the device's web.bluetooth.BluetoothRemoteGATTServer.

var gattServer = instanceOfBluetoothDevice.gatt

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/gatt

Property.

[Read Only]
[Experimental]

The BluetoothDevice.gatt read-only property returns a reference
the device's `web.bluetooth.BluetoothRemoteGATTServer`.

`var gattServer = instanceOfBluetoothDevice.gatt`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/gatt`
sourceraw docstring

gatt-servercljs

(gatt-server this)

Property.

[Read Only] [Non Standard] [Obsolute]

The BluetoothDevice.gattServer read-only property returns a reference the device's GATT server or null if the device is disconnected.

var gattServer = instanceOfBluetoothDevice.gattServer

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/gattServer

Property.

[Read Only]
[Non Standard]
[Obsolute]

The BluetoothDevice.gattServer read-only property returns a reference
the device's GATT server or null if the device is disconnected.

`var gattServer = instanceOfBluetoothDevice.gattServer`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/gattServer`
sourceraw docstring

idcljs

(id this)

Property.

[Read Only] [Experimental]

The BluetoothDevice.id read-only property returns a web.DOMString uniquely identifies a device.

var id = instanceOfBluetoothDevice.id

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/id

Property.

[Read Only]
[Experimental]

The BluetoothDevice.id read-only property returns a `web.DOMString`
uniquely identifies a device.

`var id = instanceOfBluetoothDevice.id`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/id`
sourceraw docstring

namecljs

(name this)

Property.

[Read Only] [Experimental]

The BluetoothDevice.name read-only property returns a web.DOMString provides a human-readable name for the device.

var name = instanceOfBluetoothDevice.name

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/name

Property.

[Read Only]
[Experimental]

The BluetoothDevice.name read-only property returns a `web.DOMString`
provides a human-readable name for the device.

`var name = instanceOfBluetoothDevice.name`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/name`
sourceraw docstring

pairedcljs

(paired this)

Property.

[Read Only] [Non Standard] [Obsolute]

The BluetoothDevice.paired read-only property returns a js.Boolean indicating whether the device is paired with the system.

var paired = instanceOfBluetoothDevice.paired

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/paired

Property.

[Read Only]
[Non Standard]
[Obsolute]

The BluetoothDevice.paired read-only property returns a `js.Boolean`
indicating whether the device is paired with the system.

`var paired = instanceOfBluetoothDevice.paired`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/paired`
sourceraw docstring

product-idcljs

(product-id this)

Property.

[Read Only] [Non Standard] [Obsolute]

The BluetoothDevice.productID read-only property returns the Product ID field in the pnp_id characteristic in the device_information

var productID = instanceOfBluetoothDevice.productID

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/productID

Property.

[Read Only]
[Non Standard]
[Obsolute]

The BluetoothDevice.productID read-only property returns the
Product ID field in the pnp_id characteristic in the device_information

`var productID = instanceOfBluetoothDevice.productID`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/productID`
sourceraw docstring

product-versioncljs

(product-version this)

Property.

[Read Only] [Non Standard] [Obsolute]

The BluetoothDevice.productVersion read-only property returns 16-bit Product Version field in the pnp_id characteristic in device_information service.

var productVersion = instanceOfBluetoothDevice.productVersion

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/productVersion

Property.

[Read Only]
[Non Standard]
[Obsolute]

The BluetoothDevice.productVersion read-only property returns
16-bit Product Version field in the pnp_id characteristic in
device_information service.

`var productVersion = instanceOfBluetoothDevice.productVersion`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/productVersion`
sourceraw docstring

set-watching-advertisements!cljs

(set-watching-advertisements! this val)

Property.

If advertisments were activated using BluetoothDevice.watchAdvertisements().

Property.

If advertisments were activated using BluetoothDevice.watchAdvertisements().
sourceraw docstring

unwatch-advertismentscljs

(unwatch-advertisments this & args)

Method.

Stops watching for advertisments.

Method.

Stops watching for advertisments.
sourceraw docstring

uuidscljs

(uuids this)

Property.

[Read Only] [Experimental]

The BluetoothDevice.uuids read-only property lists the UUIDs GATT services provided by the device, that the current origin allowed to access.

var uuids[] =​ instanceOfBluetoothDevice.uuids

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/uuids

Property.

[Read Only]
[Experimental]

The BluetoothDevice.uuids read-only property lists the UUIDs
GATT services provided by the device, that the current origin
allowed to access.

`var uuids[] =​ instanceOfBluetoothDevice.uuids`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/uuids`
sourceraw docstring

vendor-idcljs

(vendor-id this)

Property.

[Read Only] [Non Standard] [Obsolute]

The BluetoothDevice.vendorID read-only property returns the 16-bit ID field in the pnp_id characteristic in the device_information

var vendorID = instanceOfBluetoothDevice.vendorID

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/vendorID

Property.

[Read Only]
[Non Standard]
[Obsolute]

The BluetoothDevice.vendorID read-only property returns the 16-bit
ID field in the pnp_id characteristic in the device_information

`var vendorID = instanceOfBluetoothDevice.vendorID`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/vendorID`
sourceraw docstring

vendor-id-sourcecljs

(vendor-id-source this)

Property.

[Read Only] [Non Standard] [Obsolute]

The BluetoothDevice.vendorIDSource read-only property returns Vendor ID Source field in the pnp_id characteristic in the device_information

var vendorIDSource = instanceOfBluetoothDevice.vendorIDSource

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/vendorIDSource

Property.

[Read Only]
[Non Standard]
[Obsolute]

The BluetoothDevice.vendorIDSource read-only property returns
Vendor ID Source field in the pnp_id characteristic in the device_information

`var vendorIDSource = instanceOfBluetoothDevice.vendorIDSource`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/vendorIDSource`
sourceraw docstring

watch-advertismentscljs

(watch-advertisments this & args)

Method.

A Promise that resolves to undefined or is rejected with an error advetisments can’t shown for any reason.

Method.

A Promise that resolves to undefined or is rejected with an error
advetisments can’t shown for any reason.
sourceraw docstring

watching-advertisementscljs

(watching-advertisements this)

Property.

If advertisments were activated using BluetoothDevice.watchAdvertisements().

Property.

If advertisments were activated using BluetoothDevice.watchAdvertisements().
sourceraw docstring

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

× close