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 more

    Declaration

    Swift

    public protocol MultiPeerDelegate: class