# VerifiableIntent

# VerifiableIntent

Artifact:[androidx.test.espresso:espresso-intents](https://developer.android.com/jetpack/androidx/releases/test-espresso)  
[View Source](https://cs.android.com/search?q=file:androidx/test/espresso/intent/VerifiableIntent.java+class:androidx.test.espresso.intent.VerifiableIntent)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/test/espresso/intent/VerifiableIntent "View this page in Java")

<br />

```
interface VerifiableIntent : ResolvedIntent
```

<br />

*** ** * ** ***

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

## Summary

|                                ### Public functions                                 |
|-------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [hasBeenVerified](https://developer.android.com/reference/kotlin/androidx/test/espresso/intent/VerifiableIntent#hasBeenVerified())`()` Returns`true`if this recorded intent has been verified. |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [markAsVerified](https://developer.android.com/reference/kotlin/androidx/test/espresso/intent/VerifiableIntent#markAsVerified())`()` Marks this recorded intent as verified.                   |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ### Inherited functions                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[androidx.test.espresso.intent.ResolvedIntent](https://developer.android.com/reference/kotlin/androidx/test/espresso/intent/ResolvedIntent) |-------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [canBeHandledBy](https://developer.android.com/reference/kotlin/androidx/test/espresso/intent/ResolvedIntent#canBeHandledBy(java.lang.String))`(appPackage: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!)` Returns`true`if this recorded intent can be handled by an activity in the given package. | | [Intent](https://developer.android.com/reference/android/content/Intent.html)`!`    | [getIntent](https://developer.android.com/reference/kotlin/androidx/test/espresso/intent/ResolvedIntent#getIntent())`()` Returns the underlying[Intent](https://developer.android.com/reference/android/content/Intent.html).                                                                                                               | |

## Public functions

### hasBeenVerified

```
fun hasBeenVerified(): Boolean
```

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

### markAsVerified

```
fun markAsVerified(): Unit
```

Marks this recorded intent as verified.