Stay organized with collections
Save and categorize content based on your preferences.
interface DummyMainThread.TestRunnable
Runnable
variant which can throw a checked exception.
Summary
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# DummyMainThread.TestRunnable\n============================\n\nArtifact: [androidx.media3:media3-test-utils](/jetpack/androidx/releases/media3) \n[View Source](https://cs.android.com/search?q=file:androidx/media3/test/utils/DummyMainThread.java+class:androidx.media3.test.utils.DummyMainThread.TestRunnable)\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/media3/test/utils/DummyMainThread.TestRunnable \"View this page in Java\")\n\n\n```\ninterface DummyMainThread.TestRunnable\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\n[Runnable](https://developer.android.com/reference/java/lang/Runnable.html) variant which can throw a checked exception.\n\nSummary\n-------\n\n| ### Public functions |\n|-------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|\n| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | [run](/reference/kotlin/androidx/media3/test/utils/DummyMainThread.TestRunnable#run())`()` |\n\nPublic functions\n----------------\n\n### run\n\n```\nfun run(): Unit\n``` \n\n| Throws |\n|-----------------------------------------------------------------------------------------|---|\n| [java.lang.Exception](https://developer.android.com/reference/java/lang/Exception.html) | |"]]