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,["# VerifiableIntent\n\nSummary: [Methods](#pubmethods) \\| [Inherited Methods](#inhmethods) \\| [\\[Expand All\\]](#) \n\nVerifiableIntent\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\n\n`\npublic\n\n\ninterface\nVerifiableIntent\n`\n\n\n`\n\n\nimplements\n\n`[ResolvedIntent](/reference/android/support/test/espresso/intent/ResolvedIntent)`\n\n\n`\n\n|-------------------------------------------------------|\n| android.support.test.espresso.intent.VerifiableIntent |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nA [ResolvedIntent](/reference/android/support/test/espresso/intent/ResolvedIntent) that can be marked as verified.\n\nSummary\n-------\n\n| ### Public methods ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract boolean` | ` `[hasBeenVerified](/reference/android/support/test/espresso/intent/VerifiableIntent#hasBeenVerified())`() ` Returns `true` if this recorded intent has been verified. |\n| ` abstract void` | ` `[markAsVerified](/reference/android/support/test/espresso/intent/VerifiableIntent#markAsVerified())`() ` Marks this recorded intent as verified. |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From interface ` `[android.support.test.espresso.intent.ResolvedIntent](/reference/android/support/test/espresso/intent/ResolvedIntent)` ` |-------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract boolean` | ` `[canBeHandledBy](/reference/android/support/test/espresso/intent/ResolvedIntent#canBeHandledBy(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String.html)` appPackage) ` Returns `true` if this recorded intent can be handled by an activity in the given package. | | ` abstract `[Intent](https://developer.android.com/reference/android/content/Intent.html) | ` `[getIntent](/reference/android/support/test/espresso/intent/ResolvedIntent#getIntent())`() ` Returns the underlying [Intent](https://developer.android.com/reference/android/content/Intent.html). | ||\n\nPublic methods\n--------------\n\n### hasBeenVerified\n\n```\nboolean hasBeenVerified ()\n```\n\nReturns `true` if this recorded intent has been verified.\n\n\u003cbr /\u003e\n\n| Returns ||\n|-----------|--------|\n| `boolean` | \u003cbr /\u003e |\n\n### markAsVerified\n\n```\nvoid markAsVerified ()\n```\n\nMarks this recorded intent as verified.\n\n\u003cbr /\u003e\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)"]]