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
ServiceIdGuidThe UUID of the GATT service.
ServiceNamestringThe human-readable name of the service.
Properties
ServiceId
The UUID of the GATT service.
public Guid ServiceId { get; init; }
Property Value
ServiceName
The human-readable name of the service.
public string ServiceName { get; init; }