Interface IBleBackend

Namespace: MOSAIC.Components.Manager.BLE
Assembly: MOSAIC.dll
Syntax
public interface IBleBackend

Methods

GetAvailabilityAsync(CancellationToken)

Declaration
Task<bool> GetAvailabilityAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

ScanAsync(int, CancellationToken)

Declaration
Task<IReadOnlyList<BleDiscoveredDevice>> ScanAsync(int timeMs, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int timeMs
CancellationToken cancellationToken
Returns
Type Description
Task<IReadOnlyList<BleDiscoveredDevice>>

Search documentation

Start typing to search the documentation.