public interface AuthServiceObserver
| Modifier and Type | Method and Description |
|---|---|
void |
observeLoginSyncDataStatus(Observer<LoginSyncStatus> observer,
boolean register)
Register or unregister the observer for the data synchronization after login.
|
void |
observeLoginSyncSuperTeamMembersCompleteResult(Observer<java.lang.Boolean> observer,
boolean register)
Register or unregister the observer for the data synchronization result when the data of supergroup members is synced.
|
void |
observeLoginSyncTeamMembersCompleteResult(Observer<java.lang.Boolean> observer,
boolean register)
Register or unregister the observer for the data synchronization result when the data of group members is synced.
|
void |
observeOnlineStatus(Observer<StatusCode> observer,
boolean register)
Register or unregister the observer for the online status changes.
|
void |
observeOtherClients(Observer<java.util.List<OnlineClient>> observer,
boolean register)
Register or unregister the observer for mutiple-device logins.
|
void observeOnlineStatus(Observer<StatusCode> observer, boolean register)
observer - The observer, the parameter is the current state.register - true: register the observer; false: unregister the observer.void observeOtherClients(Observer<java.util.List<OnlineClient>> observer, boolean register)
observer - The observer. The parameter is the information about other devices that have the concurrent logins of the same account. register - true: register the observer; false: unregister the observer.void observeLoginSyncDataStatus(Observer<LoginSyncStatus> observer, boolean register)
observer - The observer. The parameter is the data synchronization state (start or end).register - true: register the observer; false: unregister the observer.void observeLoginSyncTeamMembersCompleteResult(Observer<java.lang.Boolean> observer, boolean register)
observer - The observer. The parameter is the synchronization result (success or failure).register - true: register the observer; false: unregister the observer.void observeLoginSyncSuperTeamMembersCompleteResult(Observer<java.lang.Boolean> observer, boolean register)
observer - The observer. The parameter is the synchronization result (success or failure).register - true: register the observer; false: unregister the observer.