<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SensorKit",
  "identifier" : "/documentation/SensorKit/SRAcousticSettings/Accessibility/BackgroundSounds-swift.class/relativeVolumeWithMedia",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SensorKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SRAcousticSettingsAccessibilityBackgroundSounds(py)relativeVolumeWithMedia"
  },
  "title" : "relativeVolumeWithMedia"
}
-->

# relativeVolumeWithMedia

```
var relativeVolumeWithMedia: Double { get }
```

## Discussion

\abstract Accessibility Background sounds volume with media
\discussion Background sounds volume while media is playing. Units is a percentage.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)