# Class: AvayaClientServices

## Constructor

#### new AvayaClientServices()

  Initializes AvayaClientServices

## Methods

#### createUser(userConfig) → {AvayaClientServices.User}

  Creates a new instance of UserConfiguration with specified configuration.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `userConfig` | AvayaClientServices.Config.UserConfiguration | User configuration.

  ##### Returns:

  { AvayaClientServices.User }

#### getMediaServices() → {AvayaClientServices.Base.MediaServices}

  Returns an instance of MediaServices.

  ##### Returns:

  { AvayaClientServices.Base.MediaServices }

#### getVersion() → {string}

  Returns version of the SDK.

  ##### Returns:

  { string }

#### registerLogger(logger, disableTimestamps)

  Registers a logger compatible with LoggerInterface within the SDK.

  IMPORTANT: When the application creates new instance of AvayaClientServices all previously registered loggers are being automatically unregistered.

  ##### Parameters:

  Name | Type | Argument | Description
  --- | --- | --- | ---
  `logger` | AvayaClientServices.Base.LoggerInterface |  | Logger to be registered.
  `disableTimestamps` | bool | <optional> | Specifies whether the SDK should add timestamps to log messages - by default it does.

  ##### See:

    - {AvayaClientServices.Base.LoggerInterface}