---
title: "DeviceConfigurationOverride"
description: "The specification for an override applied to some piece of content.

When wrapping content in [Override], some particular override will be locally applied to the
wrapped in order to test that content in isolation, without needing to configure the entire
device."
type: "interface"
---

<div class='type'>Interface</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>



```kotlin
fun interface DeviceConfigurationOverride
```


The specification for an override applied to some piece of content.

When wrapping content in `Override`, some particular override will be locally applied to the
wrapped in order to test that content in isolation, without needing to configure the entire
device.


## Functions

```kotlin
@Composable
    fun Override(contentUnderTest: @Composable () -> Unit)
```


A wrapper around `contentUnderTest` that applies some override.

Implementations should call `contentUnderTest` exactly once.



