Table of Contents

Namespace Plugin.Maui.NearbyConnectivity

Classes

NearbyActivityStop

How an activity stopped.

NearbyAndroidOptions

Provides Android-specific configuration, exposed on every target framework.

NearbyBytesPayload

Represents a payload that contains raw bytes.

NearbyConnectException

The exception that is thrown when a handshake ends without producing a connection.

NearbyConnection

Represents an established connection to a nearby device, over which payloads can be sent and received.

NearbyConnectionRequest

An inbound connection request from a nearby device, held on Request while the device reports RequestReceived.

NearbyConnectivity

Provides the application-wide INearbyConnectivity instance for code that does not use dependency injection.

NearbyConnectivityAppBuilderExtensions

Provides extension methods for adding nearby connectivity to a MauiAppBuilder.

NearbyConnectivityServiceCollectionExtensions

Provides extension methods for adding nearby connectivity to an IServiceCollection.

NearbyDevice

Represents a remote device discovered by, or connected to, an INearbyConnectivity.

NearbyDeviceChange

A single change to the device set, raised by DeviceChanged.

NearbyDeviceCollection

The device set as a bindable, live collection of NearbyDevice, kept in sync by handling DeviceChanged and applying each change on a dispatcher's thread.

NearbyException

The exception that is thrown when a nearby connectivity operation fails.

NearbyFilePayload

Represents a payload that contains a file.

NearbyInboundPayload

A payload that arrived from a nearby device, together with the device that sent it.

NearbyOptions

Configures nearby connectivity: display identity, service discovery, timeouts, and platform-specific behavior.

NearbyPayload

Represents data sent to, or received from, a nearby device.

NearbyPermission

The runtime permissions nearby connectivity needs on the current platform.

NearbyPresence

What a device shows to every other device in range before any connection exists: a display name and up to MaxInfoBytes bytes of application-defined information.

NearbySessionState

A bindable view of "is nearby working right now": whether this device is advertising and discovering, whether anything blocks it, and why either activity last stopped.

NearbyStreamPayload

Represents an inbound named byte stream, for live or unknown-length data.

NearbyTransferCanceledException

The exception that is thrown when a file transfer is canceled by something other than the caller's CancellationToken: the other device canceled it, or the platform did.

NearbyTransferException

The exception that is thrown when sending or receiving a payload fails for a reason other than a timeout.

NearbyTransferProgress

Represents the progress of an ongoing or completed payload transfer.

NearbyTransferTimeoutException

The exception that is thrown when a file transfer stalls and no progress is reported within FileTransferInactivityTimeout.

Interfaces

INearbyActivity

One thing this device can run on the radio: advertising or discovery.

INearbyAdvertiser

Advertising: makes this device visible to nearby discoverers and answers their connection requests.

INearbyConnectivity

Provides the entry point to nearby connectivity: advertises this device, discovers others, establishes connections, and exposes every device's lifecycle through a single collection.

INearbyDiscoverer

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

Enums

NearbyActivityStopReason

Why an activity stopped.

NearbyAvailability

What prevents nearby connectivity from working, worst first.

NearbyConnectFailure

Why a connection request or handshake ended without producing a connection.

NearbyConnectionType

Specifies how aggressively a connection may use the radio, trading throughput against disruption to other connections on the device.

NearbyConsentPolicy

What the session does with an inbound connection request when no per-device decision is made.

NearbyDeviceChangeAction

Identifies what kind of change a NearbyDeviceChange describes.

NearbyDeviceStatus

Specifies where a NearbyDevice sits in its lifecycle, from first discovery through to an established connection.

NearbyEndReason

Specifies why a device left the device set, why a handshake ended, or why an established connection ended. Carried by Reason.

NearbyTopology

Specifies how devices may connect to one another: how many peers each device can hold at once, and the bandwidth that results.

NearbyTransferStatus

Specifies the status of a data transfer.