{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

SpeakEasyProtocol.Find

public class SpeakEasyProtocol.Find


Represents a Find request to SpeakEasy.

Summary

Public fields

final String

The key to search for.

final ResultReceiver

A ResultReceiver to be called with the search results.

Public constructors

Public methods

static Bundle
asBundle(String key, ResultReceiver rr)

Encodes a find request into a bundle.

String

Public fields

key

public final String key

The key to search for.

resultReceiver

public final ResultReceiver resultReceiver

A ResultReceiver to be called with the search results.

Public constructors

Find

public final Find()

Public methods

asBundle

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.

toString

public String toString()