Click or drag to resize
Local Multiplayer for iOS/tvOS/macOS
AppleLocalMultiplayerISessionGetConnectedPeers Method (PeerId)
Gets peers that are connected to the session, and stores them in the provided buffer.

Namespace:  LostPolygon.Apple.LocalMultiplayer
Syntax
C#
int GetConnectedPeers(
	PeerId[] results
)

Parameters

results
Type: LostPolygon.Apple.LocalMultiplayerPeerId
The buffer to store the results in.

Return Value

Type: Int32
The amount of peers stored to the results buffer.
See Also