# androidx.test.runner.intent

# androidx.test.runner.intent

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/test/runner/intent/package-summary "View this page in Java")

## Interfaces

|-------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [IntentCallback](https://developer.android.com/reference/kotlin/androidx/test/runner/intent/IntentCallback) | Callback for monitoring Intents captured by[android.app.Instrumentation](https://developer.android.com/reference/android/app/Instrumentation.html).                                                                                                                           |
| [IntentMonitor](https://developer.android.com/reference/kotlin/androidx/test/runner/intent/IntentMonitor)   | Interface for tests to use when they need to monitor intents used to start activities from the current[Instrumentation](https://developer.android.com/reference/android/app/Instrumentation.html).                                                                            |
| [IntentStubber](https://developer.android.com/reference/kotlin/androidx/test/runner/intent/IntentStubber)   | Interface to intercept activity launch for a given[android.content.Intent](https://developer.android.com/reference/android/content/Intent.html)and stub[ActivityResult](https://developer.android.com/reference/android/app/Instrumentation.ActivityResult.html)its response. |

## Classes

|---------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|
| [IntentMonitorRegistry](https://developer.android.com/reference/kotlin/androidx/test/runner/intent/IntentMonitorRegistry) | Exposes an implementation of[IntentMonitor](https://developer.android.com/reference/kotlin/androidx/test/runner/intent/IntentMonitor)to users. |
| [IntentStubberRegistry](https://developer.android.com/reference/kotlin/androidx/test/runner/intent/IntentStubberRegistry) | Exposes an implementation of[IntentStubber](https://developer.android.com/reference/kotlin/androidx/test/runner/intent/IntentStubber).         |