mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Changed the root package from net.sf.briar to org.briarproject.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package org.briarproject.api.android;
|
||||
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
|
||||
/**
|
||||
* Enables background threads to make Android API calls that must be made from
|
||||
* a thread with a message queue.
|
||||
*/
|
||||
public interface AndroidExecutor {
|
||||
|
||||
/**
|
||||
* Runs the given task on a thread with a message queue and returns the
|
||||
* result of the task.
|
||||
*/
|
||||
<V> V call(Callable<V> c) throws InterruptedException, ExecutionException;
|
||||
|
||||
void shutdown();
|
||||
}
|
||||
Reference in New Issue
Block a user