volume

abstract var volume: Double

Returns or sets the audio volume of the player.

The player's volume is separate from the device's media volume. In general, it is recommended to let the user control the volume of the device instead, and leave the player's volume untouched.