Board

Board.Session.BoardSession

BoardSession.PresentAddPlayerSelector() Method

Presents the native player selector to add a new player to the current session.

public static System.Threading.Tasks.Task<bool> PresentAddPlayerSelector();

Returns

System.Threading.Tasks.Task<System.Boolean>
A task that completes with true if a player was added; otherwise, false if the selector was dismissed

Exceptions

System.InvalidOperationException
If the native player selector failed to open.

Remarks

Any resulting changes to players will trigger the playersChanged event.