Class BluetoothCharacteristicDefinition
- Namespace
- Bluetooth.Abstractions.Scanning.Profiles
- Assembly
- Bluetooth.Abstractions.Scanning.dll
Immutable definition of a known Bluetooth GATT characteristic, scoped to its owning service.
public record BluetoothCharacteristicDefinition : IEquatable<BluetoothCharacteristicDefinition>
- Inheritance
-
BluetoothCharacteristicDefinition
- Implements
- Inherited Members
Constructors
BluetoothCharacteristicDefinition(Guid, Guid, string)
Immutable definition of a known Bluetooth GATT characteristic, scoped to its owning service.
public BluetoothCharacteristicDefinition(Guid ServiceId, Guid CharacteristicId, string CharacteristicName)
Parameters
ServiceIdGuidThe UUID of the owning GATT service.
CharacteristicIdGuidThe UUID of the GATT characteristic.
CharacteristicNamestringThe human-readable name of the characteristic.
Properties
CharacteristicId
The UUID of the GATT characteristic.
public Guid CharacteristicId { get; init; }
Property Value
CharacteristicName
The human-readable name of the characteristic.
public string CharacteristicName { get; init; }
Property Value
ServiceId
The UUID of the owning GATT service.
public Guid ServiceId { get; init; }