-
- All Implemented Interfaces:
-
com.pointrlabs.core.management.PTRListener
public interface UserManager.Listener implements PTRListener
-
-
Method Summary
Modifier and Type Method Description abstract void
onUserManagerUserSessionUpdated(@Nullable() UserSession newSession)
This function is called when there is an update on user's session. abstract void
onUserManagerPreferredLanguageUpdated(@Nullable() String newLangCode)
Called when user's current language preference changes to something new -
-
Method Detail
-
onUserManagerUserSessionUpdated
abstract void onUserManagerUserSessionUpdated(@Nullable() UserSession newSession)
This function is called when there is an update on user's session. (log out, log in) Note that user session might be null as well in the case of log out.
- Parameters:
newSession
- New (latest) user session, might be null also
-
onUserManagerPreferredLanguageUpdated
abstract void onUserManagerPreferredLanguageUpdated(@Nullable() String newLangCode)
Called when user's current language preference changes to something new
- Parameters:
newLangCode
- New (latest) language code, might be null also
-
-
-
-