public static class

SpeakEasyProtocol.Find

extends Object
java.lang.Object
   ↳ androidx.test.services.speakeasy.SpeakEasyProtocol.Find

Class Overview

Represents a Find request to SpeakEasy.

Summary

Fields
public final String key The key to search for.
public final ResultReceiver resultReceiver A ResultReceiver to be called with the search results.
Public Methods
static Bundle asBundle(String key, ResultReceiver rr)
Encodes a find request into a bundle.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public final String key

The key to search for.

public final ResultReceiver resultReceiver

A ResultReceiver to be called with the search results.

Public Methods

public static Bundle asBundle (String key, ResultReceiver rr)

Encodes a find request into a bundle.

Parameters
key String: the key to search for.
rr ResultReceiver: the ResultReceiver to send the results to.
Returns
Bundle a bundle
Throws
NullPointerException if you do not provide the right parameters.

public String toString ()

Returns
String