Subscribed Event
Fired when the component has successfully subscribed to a characteristic.
Syntax
public event OnSubscribedHandler OnSubscribed; public delegate void OnSubscribedHandler(object sender, BleclientSubscribedEventArgs e); public class BleclientSubscribedEventArgs : EventArgs { public string ServiceId { get; } public string CharacteristicId { get; } public string Uuid { get; } public string Description { get; } }
Public Event OnSubscribed As OnSubscribedHandler Public Delegate Sub OnSubscribedHandler(sender As Object, e As BleclientSubscribedEventArgs) Public Class BleclientSubscribedEventArgs Inherits EventArgs Public ReadOnly Property ServiceId As String Public ReadOnly Property CharacteristicId As String Public ReadOnly Property Uuid As String Public ReadOnly Property Description As String End Class
Remarks
This event is fired when the component has successfully subscribed to a characteristic.
Uuid and Description are the UUID and Bluetooth SIG user-friendly name (if one is defined) of the characteristic.
Refer to the Subscribe method for more information.