public PlayerRequest trySetVolume(Volume volume) {
    """
	tries to set the Volume of the PlayerRequest.
	<p>
	if the Player supports the Change of the Volume, it will create a new PlayerRequest and return it, if not it
	returns this.
	</p>
	@param volume the Volume to set to
	@return a new PlayerRequest or this.
    """
        if (capabilities.canChangeVolume()) {
            return new PlayerRequest(trackInfo, playlist, permanent, player, capabilities, context, identifiable, volume);
        }
        return this;
    }
public PlayerRequest trySetVolume(Volume volume) {
        if (capabilities.canChangeVolume()) {
            return new PlayerRequest(trackInfo, playlist, permanent, player, capabilities, context, identifiable, volume);
        }
        return this;
    }
public PlayerRequest trySetVolume ( Volume volume ) { if ( capabilities . canChangeVolume ( ) ) { return new PlayerRequest ( trackInfo , playlist , permanent , player , capabilities , context , identifiable , volume ) ; } return this ; }
tries to set the Volume of the PlayerRequest.
<p>
if the Player supports the Change of the Volume, it will create a new PlayerRequest and return it, if not it
returns this.
</p>
@param volume the Volume to set to
@return a new PlayerRequest or this.
tries to set the Volume of the PlayerRequest . <p > if the Player supports the Change of the Volume it will create a new PlayerRequest and return it if not it returns this . < / p >