Table of Contents

Interface INearbyDiscoverer

Namespace
Plugin.Maui.NearbyConnectivity
Assembly
Plugin.Maui.NearbyConnectivity.dll

Discovery: looks for nearby advertising devices and reports them in Devices.

public interface INearbyDiscoverer : INearbyActivity
Inherited Members

Methods

RefreshAsync(CancellationToken)

Re-sweeps discovery now, without waiting for the next periodic refresh.

Task RefreshAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to abandon the refresh.

Returns

Task

A task that completes once the sweep has restarted discovery.

Remarks

The pull-to-refresh operation. No-op when not discovering. Devices no longer in range leave Devices once the sweep completes.

See Also