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


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


<h2 id="fontweightadjustment-fontweightadjustment">FontWeightAdjustment</h2>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
@RequiresApi(31)
fun DeviceConfigurationOverride.Companion.FontWeightAdjustment(
    fontWeightAdjustment: Int
): DeviceConfigurationOverride
```


A `DeviceConfigurationOverride` that overrides the font weight adjustment for the contained
content.

#### Parameters

| | |
| --- | --- |
| fontWeightAdjustment | the font weight adjustment to use to render the content under test. |


#### Returns

| | |
| --- | --- |
|  | a `DeviceConfigurationOverride` that specifies the font weight adjustment for the content under test. |