Table of Contents

Class BluetoothServiceDefinition

Namespace
Bluetooth.Abstractions.Scanning.Profiles
Assembly
Bluetooth.Abstractions.Scanning.dll

Immutable definition of a known Bluetooth GATT service, including its UUID and human-readable name.

public record BluetoothServiceDefinition : IEquatable<BluetoothServiceDefinition>
Inheritance
BluetoothServiceDefinition
Implements
Inherited Members

Constructors

BluetoothServiceDefinition(Guid, string)

Immutable definition of a known Bluetooth GATT service, including its UUID and human-readable name.

public BluetoothServiceDefinition(Guid ServiceId, string ServiceName)

Parameters

ServiceId Guid

The UUID of the GATT service.

ServiceName string

The human-readable name of the service.

Properties

ServiceId

The UUID of the GATT service.

public Guid ServiceId { get; init; }

Property Value

Guid

ServiceName

The human-readable name of the service.

public string ServiceName { get; init; }

Property Value

string