disconnectPeer(fromAllPeers:)
Disconnects a connected peer from all peers connected to the session.
Declaration
func disconnectPeer(fromAllPeers peerID: String!)Parameters
- peerID:
A string identifying the peer to disconnect.
Disconnects a connected peer from all peers connected to the session.
func disconnectPeer(fromAllPeers peerID: String!)A string identifying the peer to disconnect.