Back to Content

BluetoothRemoteGATTService: isPrimary property

files/en-us/web/api/bluetoothremotegattservice/isprimary/index.md

latest368 B
Original Source

{{APIRef("Bluetooth API")}}{{SeeCompatTable}}{{SecureContext_Header}}

The BluetoothGATTService.isPrimary read-only property returns a boolean value that indicates whether this is a primary service. If it is not a primary service, it is a secondary service.

Value

A boolean value.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}