mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-12-06 12:29:32 +01:00
43 lines
1.5 KiB
Java
43 lines
1.5 KiB
Java
package expo.modules.interfaces.taskManager;
|
|
|
|
import android.app.job.JobParameters;
|
|
import android.app.job.JobService;
|
|
import android.content.Intent;
|
|
import android.os.Bundle;
|
|
import expo.modules.core.interfaces.SingletonModule;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes9.dex */
|
|
public interface TaskServiceInterface extends SingletonModule {
|
|
boolean cancelJob(JobService jobService, JobParameters jobParameters);
|
|
|
|
void executeTask(TaskInterface taskInterface, Bundle bundle, Error error, TaskExecutionCallback taskExecutionCallback);
|
|
|
|
List<TaskConsumerInterface> getTaskConsumers(String str);
|
|
|
|
Bundle getTaskOptions(String str, String str2);
|
|
|
|
List<Bundle> getTasksForAppScopeKey(String str);
|
|
|
|
void handleIntent(Intent intent);
|
|
|
|
boolean handleJob(JobService jobService, JobParameters jobParameters);
|
|
|
|
boolean hasRegisteredTask(String str, String str2);
|
|
|
|
boolean isStartedByHeadlessLoader(String str);
|
|
|
|
void notifyTaskFinished(String str, String str2, Map<String, Object> map);
|
|
|
|
void registerTask(String str, String str2, String str3, Class cls, Map<String, Object> map) throws Exception;
|
|
|
|
void setTaskManager(TaskManagerInterface taskManagerInterface, String str, String str2);
|
|
|
|
boolean taskHasConsumerOfClass(String str, String str2, Class cls);
|
|
|
|
void unregisterAllTasksForAppScopeKey(String str);
|
|
|
|
void unregisterTask(String str, String str2, Class cls) throws Exception;
|
|
}
|