# UriIdlingResource.HandlerIntf

# UriIdlingResource.HandlerIntf

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

*** ** * ** ***

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

<br />

```
interface UriIdlingResource.HandlerIntf
```

<br />

*** ** * ** ***

Wraps a Handler object.

Mock this for testing purposes.

## Summary

|                             ### Public functions                              |
|-------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | [postDelayed](https://developer.android.com/reference/kotlin/androidx/test/espresso/idling/net/UriIdlingResource.HandlerIntf#postDelayed(java.lang.Runnable,long))`(runnable: `[Runnable](https://developer.android.com/reference/java/lang/Runnable.html)`!, millis: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)` |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | [removeCallbacks](https://developer.android.com/reference/kotlin/androidx/test/espresso/idling/net/UriIdlingResource.HandlerIntf#removeCallbacks(java.lang.Runnable))`(runnable: `[Runnable](https://developer.android.com/reference/java/lang/Runnable.html)`!)`                                                                                       |

## Public functions

### postDelayed

```
fun postDelayed(runnable: Runnable!, millis: Long): Unit
```  

### removeCallbacks

```
fun removeCallbacks(runnable: Runnable!): Unit
```