{% 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 void

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

abstract void
sendTestNotification(Bundle bundle)

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

Public methods

addTest

abstract void addTest(String test)

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

sendTestNotification

abstract void sendTestNotification(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.