Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# android.support.test.espresso.intent\n====================================\n\n| This package is part of the Android [support library](/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](/jetpack/androidx) which is part of [Jetpack](/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class\n| mappings](/jetpack/androidx/migrate/class-mappings).\n\nInterfaces\n----------\n\n|--------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ActivityResultFunction](/reference/android/support/test/espresso/intent/ActivityResultFunction) | Function that returns an [Instrumentation.ActivityResult](https://developer.android.com/reference/android/app/Instrumentation.ActivityResult.html), to be called by [ERROR(/ResettingStubberImpl#getActivityResultFunctionForIntent)](/). |\n| [ResettingStubber](/reference/android/support/test/espresso/intent/ResettingStubber) | A sneaky singleton object used to respond to intents with fake responses. |\n| [ResolvedIntent](/reference/android/support/test/espresso/intent/ResolvedIntent) | An [Intent](https://developer.android.com/reference/android/content/Intent.html) that has been processed to determine the set of packages to which it resolves. |\n| [VerifiableIntent](/reference/android/support/test/espresso/intent/VerifiableIntent) | A [ResolvedIntent](/reference/android/support/test/espresso/intent/ResolvedIntent) that can be marked as verified. |\n| [VerificationMode](/reference/android/support/test/espresso/intent/VerificationMode) | An interface for different modes of verifying intents. |\n\nClasses\n-------\n\n|----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [Checks](/reference/android/support/test/espresso/intent/Checks) | Substitute for Guava Preconditions to avoid guava as a dep. |\n| [Intents](/reference/android/support/test/espresso/intent/Intents) | Intents enables validation and stubbing of intents sent out by the application under test. |\n| [OngoingStubbing](/reference/android/support/test/espresso/intent/OngoingStubbing) | Supports method chaining after @Intents#intending method call. |\n| [ResettingStubberImpl](/reference/android/support/test/espresso/intent/ResettingStubberImpl) | Implementation of [ResettingStubber](/reference/android/support/test/espresso/intent/ResettingStubber) |\n| [VerificationModes](/reference/android/support/test/espresso/intent/VerificationModes) | Implementations of [VerificationMode](/reference/android/support/test/espresso/intent/VerificationMode). |\n\n-\n\n Interfaces\n ----------\n\n - [ActivityResultFunction](/reference/android/support/test/espresso/intent/ActivityResultFunction)\n - [ResettingStubber](/reference/android/support/test/espresso/intent/ResettingStubber)\n - [ResolvedIntent](/reference/android/support/test/espresso/intent/ResolvedIntent)\n - [VerifiableIntent](/reference/android/support/test/espresso/intent/VerifiableIntent)\n - [VerificationMode](/reference/android/support/test/espresso/intent/VerificationMode)\n-\n\n Classes\n -------\n\n - [Checks](/reference/android/support/test/espresso/intent/Checks)\n - [Intents](/reference/android/support/test/espresso/intent/Intents)\n - [OngoingStubbing](/reference/android/support/test/espresso/intent/OngoingStubbing)\n - [ResettingStubberImpl](/reference/android/support/test/espresso/intent/ResettingStubberImpl)\n - [VerificationModes](/reference/android/support/test/espresso/intent/VerificationModes)"]]