You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Raghavendran Sundaraganesh edited this page Mar 1, 2023
·
3 revisions
Syncing Spaces API's
Syncing Spaces API's can be used to show loading indicator or wait till syncing is completed after login. These API's are available from v3.8.0 onwards
Syncing Spaces API Examples
Registering a setOnInitialSpacesSyncCompletedListener
Registering a setOnSpaceSyncingStatusChangedListener
webex.spaces.setOnSpaceSyncingStatusChangedListener( CompletionHandler { result->if(result.isSuccessful){
//result.data gives the sync statusif(result.data){
// result.data will be true if Spaces Sync is InProgress
}
else{
// result.data will be false if Spaces Sync is completed
}
}
}
Getting isSpacesSyncCompleted status
webex.spaces.isSpacesSyncCompleted()
// returns true if Spaces Sync is completed// returns false if Spaces Sync is InProgress