Liking cljdoc? Tell your friends :D

bluetooth.BluetoothRemoteGATTService

The BluetoothRemoteGATTService interface of the Web Bluetooth represents a service provided by a GATT server, including a device, list of referenced services, and a list of the characteristics this service.

The BluetoothRemoteGATTService interface of the Web Bluetooth
represents a service provided by a GATT server, including a device,
list of referenced services, and a list of the characteristics
this service.
raw docstring

devicecljs

(device this)

Property.

The BluetoothGATTService.device read-only property returns information a Bluetooth device through an instance of bluetooth.BluetoothDevice.

var bluetoothDeviceInstance = BluetoothGATTService.device

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/device

Property.

The BluetoothGATTService.device read-only property returns information
a Bluetooth device through an instance of `bluetooth.BluetoothDevice`.

`var bluetoothDeviceInstance = BluetoothGATTService.device`

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

get-characteristiccljs

(get-characteristic this characteristic)

Method.

The BluetoothGATTService.getCharacteristic() method returns a to an instance of bluetooth.BluetoothGATTCharacteristic for given universally unique identifier (UUID).

bluetoothGATTServiceInstance.getCharacteristic(characteristic).then(function(BluetoothGATTCharacteristic) { ... } )

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getCharacteristic

Method.

The BluetoothGATTService.getCharacteristic() method returns a
to an instance of `bluetooth.BluetoothGATTCharacteristic` for
given universally unique identifier (UUID).

`bluetoothGATTServiceInstance.getCharacteristic(characteristic).then(function(BluetoothGATTCharacteristic) { ... } )`

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

get-characteristicscljs

(get-characteristics this characteristics)

Method.

The BluetoothGATTService.getCharacteristics() method returns web.Promise to a list of bluetooth.BluetoothGATTCharacteristic for a given universally unique identifier (UUID).

bluetoothGATTServiceInstance.getCharacteristics(characteristics).then(function(BluetoothGATTCharacteristic[]) { ... } )

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getCharacteristics

Method.

The BluetoothGATTService.getCharacteristics() method returns
`web.Promise` to a list of `bluetooth.BluetoothGATTCharacteristic`
for a given universally unique identifier (UUID).

`bluetoothGATTServiceInstance.getCharacteristics(characteristics).then(function(BluetoothGATTCharacteristic[]) { ... } )`

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

get-included-servicecljs

(get-included-service this service)

Method.

The BluetoothGATTService.getIncludedService() method returns web.Promise to an instance of bluetooth.BluetoothGATTService a given universally unique identifier (UUID).

bluetoothGATTServiceInstance.getIncludedService(service).then(function(BluetoothGATTService) { ... } )

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getIncludedService

Method.

The BluetoothGATTService.getIncludedService() method returns
`web.Promise` to an instance of `bluetooth.BluetoothGATTService`
a given universally unique identifier (UUID).

`bluetoothGATTServiceInstance.getIncludedService(service).then(function(BluetoothGATTService) { ... } )`

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

get-included-servicescljs

(get-included-services this service)

Method.

The BluetoothGATTService.getIncludedServices() method returns web.Promise to an web.Array of bluetooth.BluetoothGATTService for an optional universally unique identifier (UUID).

bluetoothGATTServiceInstance.getIncludedService(service).then(function(BluetoothGATTService) { ... } )

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getIncludedServices

Method.

The BluetoothGATTService.getIncludedServices() method returns
`web.Promise` to an `web.Array` of `bluetooth.BluetoothGATTService`
for an optional universally unique identifier (UUID).

`bluetoothGATTServiceInstance.getIncludedService(service).then(function(BluetoothGATTService) { ... } )`

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

is-primarycljs

(is-primary this)

Property.

The BluetoothGATTService.isPrimary read-only property returns web.Boolean that indicates whether this is a primary service. it is not a primary service, it is a secondary service.

var isPrimary = BluetoothGATTService.isPrimary

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/isPrimary

Property.

The BluetoothGATTService.isPrimary read-only property returns
`web.Boolean` that indicates whether this is a primary service.
it is not a primary service, it is a secondary service.

`var isPrimary = BluetoothGATTService.isPrimary`

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

set-device!cljs

(set-device! this val)

Property.

The BluetoothGATTService.device read-only property returns information a Bluetooth device through an instance of bluetooth.BluetoothDevice.

var bluetoothDeviceInstance = BluetoothGATTService.device

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/device

Property.

The BluetoothGATTService.device read-only property returns information
a Bluetooth device through an instance of `bluetooth.BluetoothDevice`.

`var bluetoothDeviceInstance = BluetoothGATTService.device`

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

set-is-primary!cljs

(set-is-primary! this val)

Property.

The BluetoothGATTService.isPrimary read-only property returns web.Boolean that indicates whether this is a primary service. it is not a primary service, it is a secondary service.

var isPrimary = BluetoothGATTService.isPrimary

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/isPrimary

Property.

The BluetoothGATTService.isPrimary read-only property returns
`web.Boolean` that indicates whether this is a primary service.
it is not a primary service, it is a secondary service.

`var isPrimary = BluetoothGATTService.isPrimary`

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

set-uuid!cljs

(set-uuid! this val)

Property.

The BluetoothGATTService.uuid read-only property returns a dom.DOMString the UUID of this service.

var uuid = BluetoothGATTService.uuid

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/uuid

Property.

The BluetoothGATTService.uuid read-only property returns a `dom.DOMString`
the UUID of this service.

`var uuid = BluetoothGATTService.uuid`

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

uuidcljs

(uuid this)

Property.

The BluetoothGATTService.uuid read-only property returns a dom.DOMString the UUID of this service.

var uuid = BluetoothGATTService.uuid

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/uuid

Property.

The BluetoothGATTService.uuid read-only property returns a `dom.DOMString`
the UUID of this service.

`var uuid = BluetoothGATTService.uuid`

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

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

× close