Get started with enhanced presence in Lync SDK

Learn the programming concepts and Microsoft Lync 2013 SDK object model for building an application that shows the enhanced presence information for any Microsoft Lync 2013 user.

Applies to: Lync 2013 | Lync Server 2013

      

What is enhanced presence?

Enhanced presence is a superset of the presence data format defined by RFC 3261, RFC 3265, and RFC 3863. Enhanced presence is a protocol for publishing and subscribing to presence data as well as a mechanism to authorize the access of a presence subscribing user to the presence of a publishing user.

Enhanced presence is organized into the state, calendar data, contact card, device, note, options, and call routing categories. These presence categories are exposed to the Lync 2013 API developer as class objects that encapsulate the SIP XML elements described in the presence protocol.

Get started with enhanced presence

The prerequisites for working with enhanced presence are as follows:

  • Microsoft Lync 2013 must be installed and running on the development computer.

  • You must have sign-in credentials for Microsoft Lync Server 2013.

  • Microsoft Lync 2013 SDK must be installed on the development computer.

Enhanced presence essentials

To understand how to work with enhanced presence, it's important to become familiar with the concepts in the following table.

Concept

Description

Enhanced presence content in Lync SDK

Learn about the components of Microsoft Lync 2013 enhanced presence and how Lync 2013 user privacy relationships constrain views of presence information.

Presence publication and subscription in Lync SDK

Learn about the concept of contact presence publication and subscription in Microsoft Lync 2013 SDK.

What can you do with enhanced presence?

The following table lists basic tasks for working with enhanced presence.

Task

Description

How to: Get the enhanced presence of a Lync user

Learn how to use Microsoft Lync 2013 SDK to get and display the enhanced presence that is published by a Microsoft Lync 2013 user.

How to: Display contact information by using a ContactCard control

Learn how to use the Lync Controls ContactCard in a WPF window or Silverlight page to display contact information for a Lync user.

How to: Get the communication modes of a Lync user

Learn how use Microsoft Lync 2013 SDK to get the communication modalities that a Microsoft Lync 2013 user can use to participate in conversations.

How to: Publish enhanced presence information

Learn how to publish Microsoft Lync 2013 presence information such as the availability and personal note of a Lync 2013 contact by using methods in Microsoft Lync 2013 SDK.

How to: Subscribe to enhanced presence content

Learn how to use Microsoft Lync 2013 SDK to create a subscription to the enhanced presence published by a user.

How to: Use presence information in an application

Learn how to use the presence information published by a Microsoft Lync 2013 contact to make an application more responsive to changes in a user’s willingness to communicate and ability to communicate in specific modes.

How to: Display and publish custom availability in Lync SDK

Learn how to display and publish custom Microsoft Lync 2013 presence in an application by using Microsoft Lync 2013 SDK.

Beyond the basics: Learn more about enhanced presence

The following table lists advanced concepts for working with enhanced presence.

Concept

Description

Contact privacy relationship administration

Learn how Microsoft Lync 2013 user privacy relationships constrain a Lync 2013 user’s view of another Lync 2013 user’s published presence.

Custom presence states

Learn about the concept of localizing a Microsoft Lync 2013 API-enabled application by showing custom user activity strings instead of the default activity strings that are included with an installation of Microsoft Lync Server 2013.

See also