{% 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 @NonNull String |
The key to search for. |
final @NonNull ResultReceiver |
A ResultReceiver to be called with the search results. |
Public methods |
|
|---|---|
static @NonNull Bundle |
Encodes a find request into a bundle. |
@NonNull String |
toString() |
@NonNull
public final @NonNull ResultReceiver resultReceiver
A ResultReceiver to be called with the search results.
@NonNull
public static Bundle asBundle(@NonNull String key, @NonNull ResultReceiver rr)
Encodes a find request into a bundle.
| Parameters | |
|---|---|
@NonNull String key |
the key to search for. |
@NonNull ResultReceiver rr |
the ResultReceiver to send the results to. |
| Returns | |
|---|---|
Bundle |
a bundle |
| Throws | |
|---|---|
java.lang.NullPointerException |
if you do not provide the right parameters. |