mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
25 lines
746 B
Objective-C
25 lines
746 B
Objective-C
//
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import <SignalUtilitiesKit/SignalRecipient.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface ContactsUpdater : NSObject
|
|
|
|
+ (instancetype)sharedUpdater;
|
|
|
|
// This asynchronously tries to verify whether or not a group of possible
|
|
// contact ids correspond to service accounts.
|
|
//
|
|
// The failure callback is only invoked if the lookup fails. Otherwise,
|
|
// the success callback is invoked with the (possibly empty) set of contacts
|
|
// that were found.
|
|
- (void)lookupIdentifiers:(NSArray<NSString *> *)identifiers
|
|
success:(void (^)(NSArray<SignalRecipient *> *recipients))success
|
|
failure:(void (^)(NSError *error))failure;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|