# DummyMainThread.TestRunnable

# DummyMainThread.TestRunnable

Artifact:[androidx.media3:media3-test-utils](https://developer.android.com/jetpack/androidx/releases/media3)  
[View Source](https://cs.android.com/search?q=file:androidx/media3/test/utils/DummyMainThread.java+class:androidx.media3.test.utils.DummyMainThread.TestRunnable)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/test/utils/DummyMainThread.TestRunnable "View this page in Java")

<br />

```
interface DummyMainThread.TestRunnable
```

<br />

*** ** * ** ***

[Runnable](https://developer.android.com/reference/java/lang/Runnable.html)variant which can throw a checked exception.

## Summary

|                             ### Public functions                              |
|-------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | [run](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/DummyMainThread.TestRunnable#run())`()` |

## Public functions

### run

```
fun run(): Unit
```  

|                                         Throws                                          |
|-----------------------------------------------------------------------------------------|---|
| [java.lang.Exception](https://developer.android.com/reference/java/lang/Exception.html) |   |