Liking cljdoc? Tell your friends :D

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

[Read Only] [Experimental]

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

var bluetoothDeviceInstance = BluetoothGATTService.device

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

Property.

[Read Only]
[Experimental]

The BluetoothGATTService.device read-only property returns information
a Bluetooth device through an instance of `web.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.

[Experimental]

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

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

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

Method.

[Experimental]

The BluetoothGATTService.getCharacteristic() method returns a
to an instance of `BluetoothGATTCharacteristic` for a given universally
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.

[Experimental]

The BluetoothGATTService.getCharacteristics() method returns js.Promise to a list of BluetoothGATTCharacteristic instances 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.

[Experimental]

The BluetoothGATTService.getCharacteristics() method returns
`js.Promise` to a list of `BluetoothGATTCharacteristic` instances
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.

[Experimental]

The BluetoothGATTService.getIncludedService() method returns js.Promise to an instance of BluetoothGATTService for a given unique identifier (UUID).

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

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

Method.

[Experimental]

The BluetoothGATTService.getIncludedService() method returns
`js.Promise` to an instance of `BluetoothGATTService` for a given
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.

[Experimental]

The BluetoothGATTService.getIncludedServices() method returns js.Promise to an js.Array of BluetoothGATTService instances 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.

[Experimental]

The BluetoothGATTService.getIncludedServices() method returns
`js.Promise` to an `js.Array` of `BluetoothGATTService` instances
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.

[Read Only] [Experimental]

The BluetoothGATTService.isPrimary read-only property returns js.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.

[Read Only]
[Experimental]

The BluetoothGATTService.isPrimary read-only property returns
`js.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

uuidcljs

(uuid this)

Property.

[Read Only] [Experimental]

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

var uuid = BluetoothGATTService.uuid

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

Property.

[Read Only]
[Experimental]

The BluetoothGATTService.uuid read-only property returns a `web.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