{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
public class SpeakEasyProtocol.Find
Represents a Find request to SpeakEasy.
Public fields |
|
|---|---|
final String |
The key to search for. |
final ResultReceiver |
A ResultReceiver to be called with the search results. |
Public constructors |
|
|---|---|
Find() |
|
public final ResultReceiver resultReceiver
A ResultReceiver to be called with the search results.
public static Bundle asBundle(String key, ResultReceiver rr)
Encodes a find request into a bundle.
| Parameters | |
|---|---|
String key |
the key to search for. |
ResultReceiver rr |
the ResultReceiver to send the results to. |
| Returns | |
|---|---|
Bundle |
a bundle |
| Throws | |
|---|---|
java.lang.NullPointerException java.lang.NullPointerException |
if you do not provide the right parameters. |