nn::uds::CTR::EjectSpectator Functionnn::Result EjectSpectator( void );
None.
Result values listed below. | Value | Description |
|---|---|
Result::IsSuccess |
Process was successful. |
ResultNotInitialized |
The library is not initialized. Execute the Initialize function. |
ResultInvalidState |
Not in an executable state. Returned when executed in a state other than master. |
ResultWirelessOff |
Entered wireless-disabled mode. Re-initialization is required. |
| A value other than the above | Failed for reasons other than those given above. |
Kicks all the connected spectators off of the network.
New spectators will be unable to connect after you execute this function. To allow Spectator nodes to connect again, call the AllowToSpectate function. Only the master can run this function.
This function is thread-safe.
Initialize in Return Values.CONFIDENTIAL