DeviceConfigurationOverride

Interface

Common
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

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

A wrapper around contentUnderTest that applies some override.

Implementations should call contentUnderTest exactly once.