Function

Navigation

A [DeviceConfigurationOverride] that overrides the current navigation type and whether it is hidden.

Android
fun DeviceConfigurationOverride.Companion.Navigation(
    @NavigationType navigationType: Int,
    isHidden: Boolean = false,
): DeviceConfigurationOverride

A DeviceConfigurationOverride that overrides the current navigation type and whether it is hidden.

Parameters

navigationType the navigation type to render the content under test in. This should be one of the Configuration.NAVIGATION_* values.
isHidden if true, render the content under test with hidden navigation.

Returns

a DeviceConfigurationOverride that specifies the navigation type for the content under test.