# VerificationMode

# VerificationMode

| 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
VerificationMode
`  
`


`

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

<br />

*** ** * ** ***

An interface for different modes of verifying intents.

## Summary

|                                                                                                                                                                                                                                                                                                                                           ### Public methods                                                                                                                                                                                                                                                                                                                                            ||
|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract void` | ` `[verify](https://developer.android.com/reference/android/support/test/espresso/intent/VerificationMode#verify(org.hamcrest.Matcher<android.content.Intent>, java.util.List<android.support.test.espresso.intent.VerifiableIntent>))`(Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`> matcher, `[List](https://developer.android.com/reference/java/util/List.html)`<`[VerifiableIntent](https://developer.android.com/reference/android/support/test/espresso/intent/VerifiableIntent)`> recordedIntents) ` Verifies the recorded intents that match the provided[Matcher](https://developer.android.com/reference/org/hamcrest/Matcher). |

## Public methods

### verify

```
void verify (Matcher<Intent> matcher, 
                List<VerifiableIntent> recordedIntents)
```

Verifies the recorded intents that match the provided[Matcher](https://developer.android.com/reference/org/hamcrest/Matcher). No intents should be marked as verified unless the verification passes.

<br />

|             Parameters              ||
|-------------------|------------------|
| `matcher`         | `Matcher` <br /> |
| `recordedIntents` | `List` <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)