# android.support.test.runner.intent

# android.support.test.runner.intent

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

## Interfaces

|-------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [IntentCallback](https://developer.android.com/reference/android/support/test/runner/intent/IntentCallback) | Callback for monitoring Intents captured by[Instrumentation](https://developer.android.com/reference/android/app/Instrumentation.html).                                                                                                                                       |
| [IntentMonitor](https://developer.android.com/reference/android/support/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/android/support/test/runner/intent/IntentStubber)   | Interface to intercept activity launch for a given[Intent](https://developer.android.com/reference/android/content/Intent.html)and stub[Instrumentation.ActivityResult](https://developer.android.com/reference/android/app/Instrumentation.ActivityResult.html)its response. |

## Classes

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

-

  ## Interfaces

  - [IntentCallback](https://developer.android.com/reference/android/support/test/runner/intent/IntentCallback)
  - [IntentMonitor](https://developer.android.com/reference/android/support/test/runner/intent/IntentMonitor)
  - [IntentStubber](https://developer.android.com/reference/android/support/test/runner/intent/IntentStubber)
-

  ## Classes

  - [IntentMonitorRegistry](https://developer.android.com/reference/android/support/test/runner/intent/IntentMonitorRegistry)
  - [IntentStubberRegistry](https://developer.android.com/reference/android/support/test/runner/intent/IntentStubberRegistry)