public void setPlayPauseController(Consumer<String> controller) {
        if (controller == null)
            return;
        this.playPause = controller;
        capabilities.setPlayPauseControl(true);
    }
public void setPlayPauseController(Consumer<String> controller) {
        if (controller == null)
            return;
        this.playPause = controller;
        capabilities.setPlayPauseControl(true);
    }
public void setPlayPauseController ( Consumer < String > controller ) { if ( controller == null ) return ; this . playPause = controller ; capabilities . setPlayPauseControl ( true ) ; }
adds the ability for the Play/Pause requests
@param controller  the controller for callback
adds the ability for the Play / Pause requests