com.avaya.deskphoneservices.telecomService

## Class TelecomService

- java.lang.Object
- - com.avaya.deskphoneservices.telecomService.TelecomService

-     public class TelecomService
      extends java.lang.Object

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addListener(TelecomServiceEventListener listener)` Adds a listener for this client.
    `void` | `removeListener(TelecomServiceEventListener listener)` Removes a listener from this client.
    `void` | `updateCommunicationsClient(com.avaya.clientservices.client.Client client)` Update the communications client reference in case if client is recreated at run time by the application after TelecomService is initialized.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### updateCommunicationsClient

          public void updateCommunicationsClient(com.avaya.clientservices.client.Client client)

      Update the communications client reference in case if client is recreated at run time by the application after TelecomService is initialized. TelecomService internally relies on Communications package and uses Client reference to subscribe to Communications package.
      Parameters:
        `client` - Client SDK's `Client`

    - #### addListener

          public void addListener(TelecomServiceEventListener listener)

      Adds a listener for this client.

    - #### removeListener

          public void removeListener(TelecomServiceEventListener listener)

      Removes a listener from this client.