SDKsiOS
Retrieve the unhandled group-application count
Retrieve the number of unhandled iOS group applications after a specified time.
GetGroupApplicationUnhandledCountReq *req =
[[GetGroupApplicationUnhandledCountReq alloc] initWithTime:0];
[[OIMManager manager] getGroupApplicationUnhandledCount:req
onSuccess:^(NSInteger count) { [self updateBadge:count]; }
onFailure:^(NSInteger code, NSString *message) { [self showErrorCode:code message:message]; }];time is the starting point for the query. The success callback returns a count and does not modify any application state.
Was this page helpful?