nn::friends::CTR::Logout FunctionResult Logout();
None.
| Value | Description |
|---|---|
Result::IsSuccess |
Process succeeded. |
ResultNotInitialized |
The friend presence library is not initialized. |
| Other | Another result may be returned, depending on the internal state of the daemon and other factors. |
Retracts a login request to a server.
This function succeeds even if it is called when the local host has already logged out. Even if this function succeeds, the local host is not guaranteed to be offline.
In cases where the local host has become disconnected from the server, the system silently transitions to the same state as if this function has been called.
CONFIDENTIAL