getIncludedServices()

Experimental

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The BluetoothGATTService.getIncludedServices() method returns a Promise to an Array of BluetoothRemoteGATTService instances for an optional universally unique identifier (UUID).

Syntax

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

Returns

Promise to an instance of BluetoothRemoteGATTService.

Properties

service
The UUID of a Bluetooth service.

Specifications

Specification Status Comment
Web Bluetooth
The definition of 'getIncludedServices()' in that specification.
Draft Initial definition.

Browser compatibility

BCD tables only load in the browser