Browse SDKs · Flutter
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 pinned baseline does not publicly document the temporary getUserStatus() method.