Click or drag to resize
Local Multiplayer for iOS/tvOS/macOS
AppleLocalMultiplayerICustomPeerDiscovery Interface
Provides full programmatic access to the peer discovery API. Allows implementing complex custom behaviours (like auto-joining the session or implementing a in-game peer discovery interface).

Namespace:  LostPolygon.Apple.LocalMultiplayer
Syntax
C#
public interface ICustomPeerDiscovery

The AppleLocalMultiplayerICustomPeerDiscovery type exposes the following members.

Methods
  NameDescription
Public methodInvitePeer
Invites peer peerId to the current session.
Public methodStartDiscovery
Starts discovery of nearby peers.
Public methodStopDiscovery
Stop discovery of nearby peers.
Top
Events
  NameDescription
Public eventPeerFound
Occurs when a new peer is found.
Public eventPeerLost
Occurs when a known peer is lost.
Public eventStartFailed
Occurs when starting the discovery has failed.
Top
See Also