ISession Methods |
The AppleLocalMultiplayerISession type exposes the following members.
Name | Description | |
---|---|---|
GetConnectedPeers |
Gets the array of peers that are connected to the session.
| |
GetConnectedPeers(PeerId) |
Gets peers that are connected to the session, and stores them in the provided buffer.
| |
GetConnectedPeersCount |
Gets the number of peers that are connected to the session.
| |
SetLocalPeerName |
Sets the name of the local peer.
| |
SetServerPort |
Sets the server port. Must be called before starting the networking server.
| |
SetServiceType |
Sets the service type identifier.
| |
StartSession |
Starts the session.
| |
StopSession |
Disconnects current device from the session, stops all service advertisers and peer browsers.
|