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

Command.Stub

public abstract class Command.Stub implements Command


Summary

Nested types

Command.Stub.Proxy

Public constructors

Public methods

static @NonNull Command
asInterface(@NonNull IBinder obj)

Inherited methods

From class Command
abstract @NonNull void
execute(
    @NonNull String command,
    @NonNull List<@NonNull String> parameters,
    @NonNull Map shellEnv,
    @NonNull boolean executeThroughShell,
    @NonNull ParcelFileDescriptor pfd
)

Parceling generic Lists requires an unchecked conversion from ArrayList to List<T>.Parceling generic Lists requires using the raw type Map.

abstract @NonNull void
executeWithTimeout(
    @NonNull String command,
    @NonNull List<@NonNull String> parameters,
    @NonNull Map shellEnv,
    @NonNull boolean executeThroughShell,
    @NonNull ParcelFileDescriptor pfd,
    @NonNull long timeoutMs
)

Parceling generic Lists requires an unchecked conversion from ArrayList to List<T>.Parceling generic Lists requires using the raw type Map.

Public constructors

Stub

public Stub()

Public methods

asInterface

@NonNull
public static Command asInterface(@NonNull IBinder obj)