xref: /expo/packages/expo-task-manager/ios/EXTaskManager/EXTaskService.h (revision 9de60485)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2018-present 650 Industries. All rights reserved.
2 
3 #import <ExpoModulesCore/EXSingletonModule.h>
4 #import <ExpoModulesCore/EXTaskServiceInterface.h>
5 #import <EXTaskManager/EXTask.h>
6 #import <EXTaskManager/EXTaskExecutionRequest.h>
7 
8 @interface EXTaskService : EXSingletonModule <EXTaskServiceInterface, EXTaskDelegate>
9 
10 + (BOOL)hasBackgroundModeEnabled:(nonnull NSString *)backgroundMode;
11 
12 // AppDelegate handlers
13 - (void)applicationDidFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions;
14 - (void)runTasksWithReason:(EXTaskLaunchReason)launchReason
15                   userInfo:(nullable NSDictionary *)userInfo
16          completionHandler:(nullable void (^)(UIBackgroundFetchResult))completionHandler;
17 
18 @end
19 

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026