Interface StreetsideLoginListener
-
- All Known Implementing Classes:
StreetsidePreferenceSetting
public interface StreetsideLoginListener
This interface should be implemented by components that want to get notified when the user logs in or logs out of his Streetside account. Such listeners can be registered e.g. at aOAuthPortListener.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonLogin(java.lang.String username)Should be called whenever the user logs into a mapillary account.voidonLogout()Should be called whenever the user logs out of a mapillary account.
-
-
-
Method Detail
-
onLogin
void onLogin(java.lang.String username)
Should be called whenever the user logs into a mapillary account. E.g. for updating the GUI to reflect the login status.- Parameters:
username- the username that the user is now logged in with
-
onLogout
void onLogout()
Should be called whenever the user logs out of a mapillary account. E.g. for updating the GUI to reflect the login status.
-
-