SDKsiOS
Retrieve subscribed user status
Retrieve an online-status snapshot for subscribed users with OpenIM iOS SDK.
[[OIMManager manager] getSubscribeUsersStatusWithOnSuccess:^(NSArray<OIMUserStatusInfo *> *states) {
[presenceStore mergeStates:states];
} onFailure:nil];This method does not accept an array of users and does not change the subscription set. Use it to reconcile state after reconnecting or returning to a page, and merge the results by userID. The query does not trigger the online-status delegate.
Was this page helpful?