BluetoothRemoteGATTService.getIncludedService()

Experimental

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

The BluetoothGATTService.getIncludedService() method returns a Promise to an instance of BluetoothRemoteGATTService for a given 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 'getIncludedService()' in that specification.
Draft Initial definition.

Browser compatibility

No compatibility data found for api.BluetoothRemoteGATTService.getIncludedService.
Check for problems with this page or contribute missing data to mdn/browser-compat-data.