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

SpeakEasyProtocol.Remove

public class SpeakEasyProtocol.Remove


Indicates a request to remove a IBinder from SpeakEasy.

Summary

Public fields

final @NonNull String

The key to remove.

Public constructors

Public methods

static @NonNull Bundle

Encodes a remove request into a bundle.

@NonNull String

Public fields

key

@NonNull
public final @NonNull String key

The key to remove.

Public constructors

Remove

public Remove(@NonNull String key)

Public methods

asBundle

@NonNull
public static Bundle asBundle(@NonNull String key)

Encodes a remove request into a bundle.

Parameters
@NonNull String key

the Key representing the IBinder to remove

Returns
Bundle

a bundle representing the command.

Throws
java.lang.NullPointerException

if key is null.

toString

@NonNull
public String toString()