Package com.avaya.clientservices.collaboration.slider

## Interface SliderListener

-     public interface SliderListener

  Listener used to handle events generated by `Slider`.

  The preferred time to register listener is as soon as `Collaboration` instance is started, i.e. in the `CollaborationListener.onCollaborationStarted(Collaboration)` method.

  In cases where the client delays registering listener to some later point in time, the `Slider.getSlides()` method can be used to retrieve currently available slides.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `onSlidesAdded​(java.util.List<SliderSlide> slides)` | Is called when new slides are available.
    `void` | `onSlidesRemoved​(java.util.List<SliderSlide> slides)` | Is called when some of the previously removed slides are no longer available.

- - ### Method Detail

    - #### onSlidesAdded

          void onSlidesAdded​(java.util.List<SliderSlide> slides)

      Is called when new slides are available.
      Parameters:
        `slides` - encapsulates a non-null, thread-safe and read-only collection of new slides.

    - #### onSlidesRemoved

          void onSlidesRemoved​(java.util.List<SliderSlide> slides)

      Is called when some of the previously removed slides are no longer available.
      Parameters:
        `slides` - encapsulates a non-null, thread-safe and read-only collection of new slides.