mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
19 lines
649 B
Objective-C
19 lines
649 B
Objective-C
//
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
@interface LockInteractionController : NSObject
|
|
|
|
typedef void (^LIControllerCompletionBlock)(void);
|
|
typedef BOOL (^LIControllerBlockingOperation)(void);
|
|
typedef void (^LIControllerRetryBlock)(
|
|
LIControllerBlockingOperation operationBlock, LIControllerCompletionBlock completionBlock);
|
|
|
|
+ (void)performBlock:(LIControllerBlockingOperation)blockingOperation
|
|
completionBlock:(LIControllerCompletionBlock)completionBlock
|
|
retryBlock:(LIControllerRetryBlock)retryBlock
|
|
usesNetwork:(BOOL)networkFlag;
|
|
|
|
+ (LIControllerRetryBlock)defaultNetworkRetry;
|
|
|
|
@end
|