Stay organized with collections
Save and categorize content based on your preferences.
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-05-15 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-05-15 UTC."],[],[],null,["# androidx.test.espresso.intent\n=============================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/test/espresso/intent/package-summary \"View this page in Kotlin\") \\|Java\n\nInterfaces\n----------\n\n|-------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ActivityResultFunction](/reference/androidx/test/espresso/intent/ActivityResultFunction) | Function that returns an [ActivityResult](https://developer.android.com/reference/android/app/Instrumentation.ActivityResult.html), to be called by getActivityResultFunctionForIntent. |\n| [ResettingStubber](/reference/androidx/test/espresso/intent/ResettingStubber) | A sneaky singleton object used to respond to intents with fake responses. |\n| [ResolvedIntent](/reference/androidx/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/androidx/test/espresso/intent/VerifiableIntent) | A [ResolvedIntent](/reference/androidx/test/espresso/intent/ResolvedIntent) that can be marked as verified. |\n| [VerificationMode](/reference/androidx/test/espresso/intent/VerificationMode) | An interface for different modes of verifying intents. |\n\nClasses\n-------\n\n|---------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|\n| [Checks](/reference/androidx/test/espresso/intent/Checks) | Substitute for Guava Preconditions to avoid dependency. |\n| [Intents](/reference/androidx/test/espresso/intent/Intents) | Intents enables validation and stubbing of intents sent out by the application under test. |\n| [OngoingStubbing](/reference/androidx/test/espresso/intent/OngoingStubbing) | Supports method chaining after @Intents#intending method call. |\n| [ResettingStubberImpl](/reference/androidx/test/espresso/intent/ResettingStubberImpl) | Implementation of [ResettingStubber](/reference/androidx/test/espresso/intent/ResettingStubber) |\n| [VerificationModes](/reference/androidx/test/espresso/intent/VerificationModes) | Implementations of [VerificationMode](/reference/androidx/test/espresso/intent/VerificationMode). |"]]