StopScan Event

Fired when the component stops scanning.

Syntax

public event OnStopScanHandler OnStopScan;

public delegate void OnStopScanHandler(object sender, BleclientStopScanEventArgs e);

public class BleclientStopScanEventArgs : EventArgs {
  public int ErrorCode { get; }
  public string ErrorDescription { get; }
}
Public Event OnStopScan As OnStopScanHandler

Public Delegate Sub OnStopScanHandler(sender As Object, e As BleclientStopScanEventArgs)

Public Class BleclientStopScanEventArgs Inherits EventArgs
  Public ReadOnly Property ErrorCode As Integer
  Public ReadOnly Property ErrorDescription As String
End Class

Remarks

This event is fired when the component stops scanning. If the scanning stopped due to an error, the ErrorCode and ErrorDescription parameters will be set accordingly; otherwise they will be 0 and empty string. Refer to the StopScanning method for more information.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks BLE 2020 .NET Edition - Version 20.0 [Build 8158]