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

SpeakEasyProtocol.Remove

class SpeakEasyProtocol.Remove


Indicates a request to remove a IBinder from SpeakEasy.

Summary

Public constructors

Remove(key: String)

Public functions

Bundle

Encodes a remove request into a bundle.

String

Public properties

String

The key to remove.

Public constructors

Remove

Remove(key: String)

Public functions

asBundle

fun asBundle(key: String): Bundle

Encodes a remove request into a bundle.

Parameters
key: String

the Key representing the IBinder to remove

Returns
Bundle

a bundle representing the command.

Throws
java.lang.NullPointerException

if key is null.

toString

fun toString(): String

Public properties

key

val keyString

The key to remove.