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
A 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
BCD tables only load in the browser