Click or drag to resize
Local Multiplayer for iOS/tvOS/macOS
LostPolygon.Apple.LocalMultiplayer Namespace
Classes
Structures
  StructureDescription
Public structurePeerState
Peer connection state.
Interfaces
  InterfaceDescription
Public interfaceAppleLocalMultiplayerIConnectivity
Provides access to device's connectivity options like Bluetooth.
Public interfaceAppleLocalMultiplayerICustomPeerDiscovery
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).
Public interfaceAppleLocalMultiplayerICustomServiceAdvertiser
Provides full programmatic access to the service advertiser API. Allows implementing complex custom behaviours (like auto-joining the session or implementing a in-game invitation accept/decline interface).
Public interfaceAppleLocalMultiplayerILog
Controls
Public interfaceAppleLocalMultiplayerIPeerDiscovery
Access to the native built-in service advertiser. Whenever another peer sends an invitation, present a dialog that allows declining or accepting the invitation. Very easy to use and setup, but limited to a single interaction model.
Public interfaceAppleLocalMultiplayerIServiceAdvertiser
Access to the native built-in service advertiser. Whenever another peer sends an invitation, present a dialog that allows declining or accepting the invitation. Very easy to use and setup, but limited to a single interaction model.
Public interfaceAppleLocalMultiplayerISession
Provides access to the local multiplayer session, setting the peer name, service type, getting other peers that are connected to the session.
Delegates
  DelegateDescription
Public delegateAppleLocalMultiplayerCustomPeerDiscoveryPeerFoundHandler
Public delegateAppleLocalMultiplayerCustomPeerDiscoveryPeerLostHandler
Public delegateAppleLocalMultiplayerCustomPeerDiscoveryStartFailedHandler
Public delegateAppleLocalMultiplayerCustomServiceAdvertiserInvitationReceivedHandler
Public delegateAppleLocalMultiplayerCustomServiceAdvertiserStartFailedHandler
Public delegateAppleLocalMultiplayerPeerDiscoveryCancelledHandler
Public delegateAppleLocalMultiplayerPeerDiscoveryFinishedHandler
Public delegateAppleLocalMultiplayerPeerDiscoveryNearbyPeerPresentingHandler
Public delegateAppleLocalMultiplayerServiceAdvertiserInvitationDismissedHandler
Public delegateAppleLocalMultiplayerServiceAdvertiserInvitationPresentingHandler
Public delegateAppleLocalMultiplayerSessionPeerStateChangedHandler
Public delegateAppleLocalMultiplayerSessionStartedHandler
Public delegateAppleLocalMultiplayerSessionStoppedHandler