Protocols
The following protocols are available globally.
-
MultiPeerDelegate
- Delegate for MultiPeer. Conform to this interface to recieve data and be notified when connection/disconnection events occur
multiPeer(didRecieveData: Data, ofType: UInt32) multiPeer(connectedDevicesChanged: [String])
See moreDeclaration
Swift
public protocol MultiPeerDelegate : AnyObject