diff options
author | Sean Leonard <meanderingcode@aetherislands.net> | 2013-06-20 18:36:16 -0600 |
---|---|---|
committer | Sean Leonard <meanderingcode@aetherislands.net> | 2013-06-20 18:36:16 -0600 |
commit | 195d5ab2d518f6f3960edd3c636e941830c2664d (patch) | |
tree | 81b6b0d0e0b374e82afa6fc15c32716f981f0aa4 /src/se/leap/leapclient/ProviderAPIResultReceiver.java | |
parent | 5a7e2365365a3b1f773212cefdeeaa4ee587a590 (diff) | |
parent | 3f8e2f6569f893a49bf1819416cae792c702d370 (diff) |
Merge 'parmegv/feature/authGui' into develop
Diffstat (limited to 'src/se/leap/leapclient/ProviderAPIResultReceiver.java')
-rw-r--r-- | src/se/leap/leapclient/ProviderAPIResultReceiver.java | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/se/leap/leapclient/ProviderAPIResultReceiver.java b/src/se/leap/leapclient/ProviderAPIResultReceiver.java index a6a8d9d8..e32f6ffd 100644 --- a/src/se/leap/leapclient/ProviderAPIResultReceiver.java +++ b/src/se/leap/leapclient/ProviderAPIResultReceiver.java @@ -4,6 +4,11 @@ import android.os.Bundle; import android.os.Handler;
import android.os.ResultReceiver;
+/**
+ * Implements the ResultReceiver needed by Activities using ProviderAPI to receive the results of its operations.
+ * @author parmegv
+ *
+ */
public class ProviderAPIResultReceiver extends ResultReceiver {
private Receiver mReceiver;
@@ -11,11 +16,16 @@ public class ProviderAPIResultReceiver extends ResultReceiver { super(handler);
// TODO Auto-generated constructor stub
}
-
+
public void setReceiver(Receiver receiver) {
mReceiver = receiver;
}
+ /**
+ * Interface to enable ProviderAPIResultReceiver to receive results from the ProviderAPI IntentService.
+ * @author parmegv
+ *
+ */
public interface Receiver {
public void onReceiveResult(int resultCode, Bundle resultData);
}
|