MultiPeerDelegate
public protocol MultiPeerDelegate : AnyObject
Undocumented
-
didReceiveData: delegate runs on receiving data from another peer
Declaration
Swift
func multiPeer(didReceiveData data: Data, ofType type: UInt32, from peerID: MCPeerID) -
connectedDevicesChanged: delegate runs on connection/disconnection event in session
Declaration
Swift
func multiPeer(connectedDevicesChanged devices: [String])
View on GitHub
MultiPeerDelegate Protocol Reference