volume
The player volume in the range of 0 to 100.
Setting a value greater than 0 while the player is muted will also unmute the player.
The volume is managed separately for the local device and any cast-compatible device. Setting the volume while connected to a cast-compatible device changes the volume on the cast-compatible device. Setting the volume while not connected to a cast-compatible device changes the volume on the local device. The same holds for getting the current volume, which means that the value can be different after PlayerEvent.CastStarted or PlayerEvent.CastStopped.
This value does not represent the system volume.
Persists across playback sessions.