# Namespace: Presence

AvayaClientServices.Services.Presence namespace contains all classes that belong to Presence module.
For PresenceService class, see AvayaClientServices.Services.Presence.PresenceService.

## Classes

Presence
PresenceError
PresenceListSubscription
PresenceService
SelfPresence

## Members

#### <static, readonly> CalendarPresenceState :string

  Describes possible presence states of user's calendar channel.

  ##### Type:

  - string

  ##### Properties:

  Name | Type | Default | Description
  --- | --- | --- | ---
  `PRESENCE_STATE_UNKNOWN` | string | PresenceState.PRESENCE_STATE_UNKNOWN | Presence state is unknown.
  `PRESENCE_STATE_UNSPECIFIED` | string | PresenceState.PRESENCE_STATE_UNSPECIFIED | Presence state is not specified.
  `PRESENCE_STATE_AVAILABLE` | string | PresenceState.PRESENCE_STATE_AVAILABLE | Presence state is available.
  `PRESENCE_STATE_AWAY` | string | PresenceState.PRESENCE_STATE_AWAY | Presence state indicating that the user is away from their client.
  `PRESENCE_STATE_OFFLINE` | string | PresenceState.PRESENCE_STATE_OFFLINE | Presence state indicating that the user is offline, i.e. not using any client.

#### <static, readonly> IMPresenceState :string

  Describes possible presence states of user's instant messaging channel.

  ##### Type:

  - string

  ##### Properties:

  Name | Type | Default | Description
  --- | --- | --- | ---
  `PRESENCE_STATE_UNKNOWN` | string | PresenceState.PRESENCE_STATE_UNKNOWN | Presence state is unknown.
  `PRESENCE_STATE_UNSPECIFIED` | string | PresenceState.PRESENCE_STATE_UNSPECIFIED | Presence state is not specified.
  `PRESENCE_STATE_AVAILABLE` | string | PresenceState.PRESENCE_STATE_AVAILABLE | Presence state is available.
  `PRESENCE_STATE_AWAY` | string | PresenceState.PRESENCE_STATE_AWAY | Presence state indicating that the user is away from their client.
  `PRESENCE_STATE_OFFLINE` | string | PresenceState.PRESENCE_STATE_OFFLINE | Presence state indicating that the user is offline, i.e. not using any client.

#### <static, readonly> ManualPresenceState :string

  Describes possible manual presence states of the user.

  ##### Type:

  - string

  ##### Properties:

  Name | Type | Default | Description
  --- | --- | --- | ---
  `PRESENCE_STATE_UNKNOWN` | string | PresenceState.PRESENCE_STATE_UNKNOWN | Presence state is unknown.
  `PRESENCE_STATE_UNSPECIFIED` | string | PresenceState.PRESENCE_STATE_UNSPECIFIED | Presence state is not specified.
  `PRESENCE_STATE_AVAILABLE` | string | PresenceState.PRESENCE_STATE_AVAILABLE | Presence state is available.
  `PRESENCE_STATE_BUSY` | string | PresenceState.PRESENCE_STATE_BUSY | Presence state indicating that the user is busy, e.g. in a meeting.
  `PRESENCE_STATE_AWAY` | string | PresenceState.PRESENCE_STATE_AWAY | Presence state indicating that the user is away from their client.
  `PRESENCE_STATE_OUT_OF_OFFICE` | string | PresenceState.PRESENCE_STATE_OUT_OF_OFFICE | Presence state indicating that the user is not in the office.
  `PRESENCE_STATE_OFFLINE` | string | PresenceState.PRESENCE_STATE_OFFLINE | Presence state indicating that the user is offline, i.e. not using any client.

#### <static, readonly> PhonePresenceState :string

  Describes possible presence states of user's phone channel.

  ##### Type:

  - string

  ##### Properties:

  Name | Type | Default | Description
  --- | --- | --- | ---
  `PRESENCE_STATE_UNKNOWN` | string | PresenceState.PRESENCE_STATE_UNKNOWN | Presence state is unknown.
  `PRESENCE_STATE_UNSPECIFIED` | string | PresenceState.PRESENCE_STATE_UNSPECIFIED | Presence state is not specified.
  `PRESENCE_STATE_AVAILABLE` | string | PresenceState.PRESENCE_STATE_AVAILABLE | Presence state is available.
  `PRESENCE_STATE_ON_A_CALL` | string | PresenceState.PRESENCE_STATE_ON_A_CALL | Presence state indicating that the user is currently on a call.
  `PRESENCE_STATE_AWAY` | string | PresenceState.PRESENCE_STATE_AWAY | Presence state indicating that the user is away from their client.
  `PRESENCE_STATE_OUT_OF_OFFICE` | string | PresenceState.PRESENCE_STATE_OUT_OF_OFFICE | Presence state indicating that the user is not in the office.
  `PRESENCE_STATE_OFFLINE` | string | PresenceState.PRESENCE_STATE_OFFLINE | Presence state indicating that the user is offline, i.e. not using any client.

#### <static, readonly> PresenceErrorReason :string

  Enumeration representing failure of a presence operation.

  ##### Type:

  - string

  ##### Properties:

  Name | Type | Default | Description
  --- | --- | --- | ---
  `UNKNOWN` | string | UNKNOWN | An unknown error. If this error code is received, there is a bug.
  `UNSUPPORTED` | string | UNSUPPORTED | The requested operation is not supported.
  `CANCELED` | string | CANCELED | The operation was cancelled.
  `INVALID_REQUEST` | string | INVALID_REQUEST | Data provided for the request is not valid.
  `INVALID_STATE` | string | INVALID_STATE | The operation is not valid for the current state.
  `INTERNAL_ERROR` | string | INTERNAL_ERROR | An internal error occurred.
  `SEND_ERROR` | string | SEND_ERROR | The network request could not be sent.
  `TIMEOUT` | string | TIMEOUT | The request is timed out. This value is reserved and it is not used in the current release yet.
  `RETRY_LIMIT_EXCEEDED` | string | RETRY_LIMIT_EXCEEDED | The request exceeded the maximum number of retries.
  `INVALID_RESPONSE` | string | INVALID_RESPONSE | The server returned an invalid response.
  `AUTHENTICATION_ERROR` | string | AUTHENTICATION_ERROR | The server rejected the request due to an authentication error.
  `SERVER_ERROR` | string | SERVER_ERROR | The server rejected the request.

  ##### See:

    - {AvayaClientServices.Services.Presence.PresenceError}

#### <static, readonly> PresenceLocationMode :string

  Enumeration representing the location-based "mode" of a user.
  The location-based "mode" of a user is applied when the user wants to publish their location to other users, i.e. make it publicly available.

  ##### Type:

  - string

  ##### Properties:

  Name | Type | Default | Description
  --- | --- | --- | ---
  `PRESENCE_LOCATION_MODE_UNSPECIFIED` | string | PRESENCE_LOCATION_MODE_UNSPECIFIED | Location mode is not specified.
  `PRESENCE_LOCATION_MODE_OFFICE` | string | PRESENCE_LOCATION_MODE_OFFICE | Location mode indicating that the user is in the office.
  `PRESENCE_LOCATION_MODE_HOME` | string | PRESENCE_LOCATION_MODE_HOME | Location mode indicating that the user is at home.
  `PRESENCE_LOCATION_MODE_MOBILE` | string | PRESENCE_LOCATION_MODE_MOBILE | Location mode indicating that the user is online via a mobile device.
  `PRESENCE_LOCATION_MODE_TRAVELING` | string | PRESENCE_LOCATION_MODE_TRAVELING | Location mode indicating that the user is out of office traveling.

#### <static, readonly> PresenceState :string

  Describes possible presence states of the user.

  ##### Type:

  - string

  ##### Properties:

  Name | Type | Default | Description
  --- | --- | --- | ---
  `PRESENCE_STATE_UNKNOWN` | string | PRESENCE_STATE_UNKNOWN | Presence state is unknown.
  `PRESENCE_STATE_UNSPECIFIED` | string | PRESENCE_STATE_UNSPECIFIED | Presence state is not specified.
  `PRESENCE_STATE_AVAILABLE` | string | PRESENCE_STATE_AVAILABLE | Presence state is available.
  `PRESENCE_STATE_ON_A_CALL` | string | PRESENCE_STATE_ON_A_CALL | Presence state indicating that the user is currently on a call.
  `PRESENCE_STATE_BUSY` | string | PRESENCE_STATE_BUSY | Presence state indicating that the user is busy, e.g. in a meeting.
  `PRESENCE_STATE_AWAY` | string | PRESENCE_STATE_AWAY | Presence state indicating that the user is away from their client.
  `PRESENCE_STATE_DO_NOT_DISTURB` | string | PRESENCE_STATE_DO_NOT_DISTURB | Presence state indicating that currently, the user does not want other people to contact them.
  `PRESENCE_STATE_OUT_OF_OFFICE` | string | PRESENCE_STATE_OUT_OF_OFFICE | Presence state indicating that the user is not in the office.
  `PRESENCE_STATE_OFFLINE` | string | PRESENCE_STATE_OFFLINE | Presence state indicating that the user is offline, i.e. not using any client.

#### <static, readonly> VideoPresenceState :string

  Describes possible presence states of user's video channel.

  ##### Type:

  - string

  ##### Properties:

  Name | Type | Default | Description
  --- | --- | --- | ---
  `PRESENCE_STATE_UNKNOWN` | string | PresenceState.PRESENCE_STATE_UNKNOWN | Presence state is unknown.
  `PRESENCE_STATE_UNSPECIFIED` | string | PresenceState.PRESENCE_STATE_UNSPECIFIED | Presence state is not specified.
  `PRESENCE_STATE_AVAILABLE` | string | PresenceState.PRESENCE_STATE_AVAILABLE | Presence state is available.
  `PRESENCE_STATE_ON_A_CALL` | string | PresenceState.PRESENCE_STATE_ON_A_CALL | Presence state indicating that the user is currently on a call.
  `PRESENCE_STATE_AWAY` | string | PresenceState.PRESENCE_STATE_AWAY | Presence state indicating that the user is away from their client.
  `PRESENCE_STATE_OFFLINE` | string | PresenceState.PRESENCE_STATE_OFFLINE | Presence state indicating that the user is offline, i.e. not using any client.