MultipeerServiceBrowser

Discovers peers that are advertising over Apple's MultipeerConnectivity framework on the same Wi-Fi network or Bluetooth PAN.

The browser is paired with a MultipeerPeerLinkFactory: the factory owns the MCNearbyServiceBrowser and the live MCPeerID map, and the browser exposes a transport-agnostic Flow<Tag> for the consumer.

Implementations live in appleMain; jvmMain wraps the dylib + JNA bridge.

Constructors

Link copied to clipboard
expect constructor(factory: MultipeerPeerLinkFactory)

Properties

Link copied to clipboard
expect open override val kind: DiscoveryKind

Functions

Link copied to clipboard
open fun departures(): Flow<String>
Link copied to clipboard
expect open override fun discoveries(): Flow<Tag>