This interface defines a listener for volume changes.
This function is called when the volume is changed.