# IntentCallback

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

*** ** * ** ***


```
public interface IntentCallback
```

<br />

*** ** * ** ***

Callback for monitoring Intents captured by `https://developer.android.com/reference/android/app/Instrumentation.html`.

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/test/runner/intent/IntentCallback#onIntentSent(android.content.Intent)(https://developer.android.com/reference/android/content/Intent.html intent)` Called on main thread when an activity is started from the current instrumentation process by the given intent. |

## Public methods

### onIntentSent

```
abstract void onIntentSent(Intent intent)
```

Called on main thread when an activity is started from the current instrumentation process by the given intent.