MultiPeerDelegate

protocol MultiPeerDelegate: class

Undocumented

  • didReceiveData: delegate runs on receiving data from another peer

    Declaration

    Swift

    func multiPeer(didReceiveData data: Data, ofType type: UInt32)
  • connectedDevicesChanged: delegate runs on connection/disconnection event in session

    Declaration

    Swift

    func multiPeer(connectedDevicesChanged devices: [String])