Skip to main content

getBlackList

Feature Introduction

Description

Retrieve the blacklist, returning those blacklisted by the user.

Function Prototype


- (void)getBlackListWithOnSuccess:(nullable OIMBlacksInfoCallback)onSuccess
onFailure:(nullable OIMFailureCallback)onFailure;

Input Parameters

None

Return Results

Parameter NameData TypeDescription
onSuccessNSArray< OIMBlackInfo * >Successful return
onFailureOIMFailureCallbackFailure return

Code Example


[OIMManager.manager getBlackListWithOnSuccess:^(NSArray<OIMBlackInfo *> * _Nullable userInfos) {
} onFailure:^(NSInteger code, NSString * _Nullable msg) {
}];