mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
27 lines
537 B
Java
27 lines
537 B
Java
package net.sf.briar.android.invitation;
|
|
|
|
import android.content.Context;
|
|
|
|
interface InvitationManager {
|
|
|
|
int TIMEOUT = 20 * 1000;
|
|
|
|
void tryToConnect(ConnectionListener listener);
|
|
|
|
String getLocalInvitationCode();
|
|
|
|
String getRemoteInvitationCode();
|
|
|
|
void setRemoteInvitationCode(String code);
|
|
|
|
void startWifiConnectionWorker(Context ctx);
|
|
|
|
void startBluetoothConnectionWorker(Context ctx);
|
|
|
|
String getLocalConfirmationCode();
|
|
|
|
String getRemoteConfirmationCode();
|
|
|
|
void startConfirmationWorker(ConfirmationListener listener);
|
|
}
|