Package com.avaya.clientservices.spaces

## Interface SpacesService

-     public interface SpacesService

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addListener​(SpacesServiceListener listener)` | Adds a new listener to the service.
    `SpaceParticipant` | `getSelfData()` |
    `boolean` | `isServiceAvailable()` | A Boolean value indicating whether the speces service is available.
    `void` | `removeListener​(SpacesServiceListener listener)` | Removes a listener from the service.

- - ### Method Detail

    - #### getSelfData

          SpaceParticipant getSelfData()

    - #### addListener

          void addListener​(SpacesServiceListener listener)

      Adds a new listener to the service.
      Parameters:
        `listener` - `SpacesServiceListener` to be added to the service.

    - #### removeListener

          void removeListener​(SpacesServiceListener listener)

      Removes a listener from the service.
      Parameters:
        `listener` - `SpacesServiceListener` instance that is removed from the service.

    - #### isServiceAvailable

          boolean isServiceAvailable()

      A Boolean value indicating whether the speces service is available. This value is closely connected with capabilities - if the service is not running, usually all of the capabilities related to the service won't be allowed.
      Returns:
        true if the service is currently available for use.
      See Also:
        `SpacesServiceListener.onSpacesServiceAvailable(SpacesService)`