Class CharacteristicSubscriptionChangedEventArgs
- Namespace
- Bluetooth.Abstractions.Broadcasting.EventArgs
- Assembly
- Bluetooth.Abstractions.Broadcasting.dll
Event arguments for when a client device subscribes to or unsubscribes from a characteristic.
public class CharacteristicSubscriptionChangedEventArgs : EventArgs
- Inheritance
-
CharacteristicSubscriptionChangedEventArgs
- Inherited Members
Constructors
CharacteristicSubscriptionChangedEventArgs(string, Guid, Guid)
Initializes a new instance of the CharacteristicSubscriptionChangedEventArgs class.
public CharacteristicSubscriptionChangedEventArgs(string clientId, Guid serviceId, Guid characteristicId)
Parameters
clientIdstringThe unique identifier of the client device.
serviceIdGuidThe service identifier containing the characteristic.
characteristicIdGuidThe characteristic identifier the client subscribed to or unsubscribed from.
Properties
CharacteristicId
Gets the characteristic identifier the client subscribed to or unsubscribed from.
public Guid CharacteristicId { get; }
Property Value
ClientId
Gets the unique identifier of the client device.
public string ClientId { get; }
Property Value
ServiceId
Gets the service identifier containing the characteristic.
public Guid ServiceId { get; }