Browse SDKs · Flutter
Platform
SDKsFlutter

Retrieve subscribed user status

Retrieve a snapshot of subscribed users’ online status with the OpenIM Flutter SDK.

Copy
final states =
    await OpenIM.iMManager.userManager.getSubscribeUsersStatus();
mergePresence(states);

This method takes no user-ID list and does not change the subscription set. Use it to reconcile status after reconnection or when re-entering a page, and merge results by userID. The query does not trigger a callback. The temporary getUserStatus() method is not part of the public Flutter SDK API.