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

OrchestratorCallback

@Generated(value = "//java/com/google/android/aidl") interface OrchestratorCallback : IInterface

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

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

Inherited functions

From class android.os.IInterface

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.

Throws
android.os.RemoteException: android.os.RemoteException

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.

Throws
android.os.RemoteException: android.os.RemoteException