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

SpeakEasyProtocol.Find

class SpeakEasyProtocol.Find


Represents a Find request to SpeakEasy.

Summary

Public constructors

Public functions

java-static Bundle!
asBundle(key: String!, rr: ResultReceiver!)

Encodes a find request into a bundle.

String!

Public properties

String!

The key to search for.

ResultReceiver!

A ResultReceiver to be called with the search results.

Public constructors

Find

Find()

Public functions

asBundle

java-static fun asBundle(key: String!, rr: ResultReceiver!): Bundle!

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
java.lang.NullPointerException: java.lang.NullPointerException

if you do not provide the right parameters.

toString

fun toString(): String!

Public properties

key

val keyString!

The key to search for.

resultReceiver

val resultReceiver: ResultReceiver!

A ResultReceiver to be called with the search results.