---
title: "setVolume(_:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/domcssstyledeclaration/setvolume(_:)"
---

# setVolume(_:)

## Declaration

```swift
func setVolume(_ volume: String!)
```
