getIncludedServices()

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 BluetoothGATTService instances for an optional universally unique identifier (UUID).

Syntax

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

Returns

Promise to an instance of BluetoothGATTService.

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

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support

531

51 — 532

45 — 533

? ? ? ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No

534

45 — 535

? ? ? ? ?

1. Mac support added and Origin Trial.

2. Linux support.

3. Behind a preference flag in Chrome OS.

4. Origin Trial.

5. Behind a preference flag.

Document Tags and Contributors

Contributors to this page: ExE-Boss, fscholz, chrisdavidmills, jpmedley, rolfedh
Last updated by: ExE-Boss,