1 |
|
2 |
|
3 | #import <UMCore/UMSingletonModule.h>
|
4 |
|
5 | #import <EXTaskManager/EXTask.h>
|
6 | #import <EXTaskManager/EXTaskExecutionRequest.h>
|
7 | #import <UMTaskManagerInterface/UMTaskServiceInterface.h>
|
8 |
|
9 | @interface EXTaskService : UMSingletonModule <UMTaskServiceInterface, EXTaskDelegate>
|
10 |
|
11 | + (BOOL)hasBackgroundModeEnabled:(nonnull NSString *)backgroundMode;
|
12 |
|
13 |
|
14 | - (void)applicationDidFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions;
|
15 | - (void)runTasksWithReason:(UMTaskLaunchReason)launchReason
|
16 | userInfo:(nullable NSDictionary *)userInfo
|
17 | completionHandler:(nullable void (^)(UIBackgroundFetchResult))completionHandler;
|
18 |
|
19 | @end
|