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

OrchestratorCallback

interface OrchestratorCallback

Known direct subclasses

Defines an interface for remote Instrumentation service to speak to the AndroidTestOrchestrator

Summary

Nested types

OrchestratorCallback.Stub
OrchestratorCallback.Stub.Proxy

Public methods

abstract @NonNull void

Remote instrumentations, when given the parameter listTestsForOrchestrator, must add each test they wish executed to AndroidTestOrchestrator before terminating.

abstract @NonNull void
sendTestNotification(@NonNull Bundle bundle)

Remote instrumentations should pass a notification along to AndroidTestOrchestrator whenever they get a notification of test progress.

Public methods

addTest

@NonNull
public abstract void addTest(@NonNull String test)

Remote instrumentations, when given the parameter listTestsForOrchestrator, must add each test they wish executed to AndroidTestOrchestrator before terminating.

sendTestNotification

@NonNull
public abstract void sendTestNotification(@NonNull Bundle bundle)

Remote instrumentations should pass a notification along to AndroidTestOrchestrator whenever they get a notification of test progress. Use OrchestratorService constants to determine the notification type.