{% setvar book_path %}/reference/kotlin/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 functions

Unit
addTest(test: String!)

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

Unit
sendTestNotification(bundle: Bundle!)

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

Public functions

addTest

fun addTest(test: String!): Unit

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

sendTestNotification

fun sendTestNotification(bundle: Bundle!): Unit

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.