public class AndroidService extends java.lang.Object implements Service
Service
in an Android ContextConstructor and Description |
---|
AndroidService(android.content.Context c) |
Modifier and Type | Method and Description |
---|---|
void |
startAsync(Callback callback,
java.util.List<InputProgram> programs,
java.util.List<OptionDescriptor> options)
Starts ASP solving Asyncronously on a subset of data and options.
|
Output |
startSync(java.util.List<InputProgram> programs,
java.util.List<OptionDescriptor> options)
Android don't have the capability to perform long tasking operation synchronously
|
public Output startSync(java.util.List<InputProgram> programs, java.util.List<OptionDescriptor> options)
startSync
in interface Service
programs
- a list of InputProgram
used as data.options
- a list of OptionDescriptor
used as options.Output
element filled with resultsstartSync(List, List)
,
Service
public void startAsync(Callback callback, java.util.List<InputProgram> programs, java.util.List<OptionDescriptor> options)
Service
startAsync
in interface Service
callback
- interface used to interact with userprograms
- a list of InputProgram
used as data.options
- a list of OptionDescriptor
used as options.startAsync(Callback, List, List)