Package com.avaya.clientservices.voicemessaging

## Interface VoiceMessagingService

-     public interface VoiceMessagingService

  The VoiceMessagingService object is accessible from the User object, providing voicemail status updates.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addListener​(VoiceMessagingServiceListener listener)` | Adds a listener.
    `java.lang.String` | `getVoicemailNumber()` |
    `VoiceMessagingStatusParameters` | `getVoiceMessagingStatus()` |
    `void` | `removeListener​(VoiceMessagingServiceListener listener)` | Removes a listener.

- - ### Method Detail

    - #### addListener

          void addListener​(VoiceMessagingServiceListener listener)

      Adds a listener.
      Parameters:
        `listener` - Listener instance to be added.

    - #### removeListener

          void removeListener​(VoiceMessagingServiceListener listener)

      Removes a listener.
      Parameters:
        `listener` - Listener instance to be removed.

    - #### getVoicemailNumber

          java.lang.String getVoicemailNumber()

      Returns:
        the voice mail number for the user.

    - #### getVoiceMessagingStatus

          VoiceMessagingStatusParameters getVoiceMessagingStatus()

      Returns:
        `VoiceMessagingStatusParameters` object indicating whether there is a voicemail Message waiting.