# VerifiableIntent

Summary:[Methods](https://developer.android.com/reference/android/support/test/espresso/intent/VerifiableIntent#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/test/espresso/intent/VerifiableIntent#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/test/espresso/intent/VerifiableIntent#)  

# VerifiableIntent

| 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).

`
public


interface
VerifiableIntent
`  
`


implements

`[ResolvedIntent](https://developer.android.com/reference/android/support/test/espresso/intent/ResolvedIntent)`


`

|-------------------------------------------------------|
| android.support.test.espresso.intent.VerifiableIntent |

<br />

*** ** * ** ***

A[ResolvedIntent](https://developer.android.com/reference/android/support/test/espresso/intent/ResolvedIntent)that can be marked as verified.

## Summary

|                                                                                                   ### Public methods                                                                                                    ||
|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract boolean` | ` `[hasBeenVerified](https://developer.android.com/reference/android/support/test/espresso/intent/VerifiableIntent#hasBeenVerified())`() ` Returns`true`if this recorded intent has been verified. |
| ` abstract void`    | ` `[markAsVerified](https://developer.android.com/reference/android/support/test/espresso/intent/VerifiableIntent#markAsVerified())`() ` Marks this recorded intent as verified.                   |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/test/espresso/intent/VerifiableIntent#)From interface` `[android.support.test.espresso.intent.ResolvedIntent](https://developer.android.com/reference/android/support/test/espresso/intent/ResolvedIntent)` ` |-------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract boolean`                                                                       | ` `[canBeHandledBy](https://developer.android.com/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](https://developer.android.com/reference/android/support/test/espresso/intent/ResolvedIntent#getIntent())`() ` Returns the underlying[Intent](https://developer.android.com/reference/android/content/Intent.html).                                                                                                   | ||

## Public methods

### hasBeenVerified

```
boolean hasBeenVerified ()
```

Returns`true`if this recorded intent has been verified.

<br />

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### markAsVerified

```
void markAsVerified ()
```

Marks this recorded intent as verified.

<br />

-

  ## Interfaces

  - [ActivityResultFunction](https://developer.android.com/reference/android/support/test/espresso/intent/ActivityResultFunction)
  - [ResettingStubber](https://developer.android.com/reference/android/support/test/espresso/intent/ResettingStubber)
  - [ResolvedIntent](https://developer.android.com/reference/android/support/test/espresso/intent/ResolvedIntent)
  - [VerifiableIntent](https://developer.android.com/reference/android/support/test/espresso/intent/VerifiableIntent)
  - [VerificationMode](https://developer.android.com/reference/android/support/test/espresso/intent/VerificationMode)
-

  ## Classes

  - [Checks](https://developer.android.com/reference/android/support/test/espresso/intent/Checks)
  - [Intents](https://developer.android.com/reference/android/support/test/espresso/intent/Intents)
  - [OngoingStubbing](https://developer.android.com/reference/android/support/test/espresso/intent/OngoingStubbing)
  - [ResettingStubberImpl](https://developer.android.com/reference/android/support/test/espresso/intent/ResettingStubberImpl)
  - [VerificationModes](https://developer.android.com/reference/android/support/test/espresso/intent/VerificationModes)