removeServer

Removes a custom login server from the list. Removes only its owning-store entry. An independently saved duplicate in the other store may become visible after the higher-precedence entry is removed.

Parameters

server

The server to remove. If the server is not custom, this method does nothing


open fun removeServer(server: LoginServerManager.LoginServer, sharedPreferences: SharedPreferences, allowNonCustomRemoval: Boolean)

Removes a login server from the list.

Parameters

server

The server to remove

sharedPreferences

The shared preferences to remove the server from

allowNonCustomRemoval

Boolean true allows the removal of non-custom login servers andfalse does not