Using Unified Communications APIs

Applies to: Lync 2013 | Lync Server 2013

In a Microsoft Lync Server 2013 deployment, a unified communications application can use the following unified communications APIs to enable enhanced presence.

Microsoft Lync 2013 Controls

This API supports drag-and-drop controls that expose limited enhanced presence-related features of Microsoft Lync 2013. All presence features are exposed as properties of the presence controls. A Microsoft Silverlight browser or a Microsoft Windows Presentation Framework (WPF) application can use these controls to leverage the supported Lync presence features. Presence controls:

PresenceIndicator control

This control can be used to display the availability and activity string of a specified contact. It can also be used to determine and configure how the presence photo appears in the UI.

ContactCard, ContactList, and CustomContactList controls

These controls are used to show basic or detailed contact information of a specified contact, to manage a contact list.

ContactSearchInputBox and ContactSearchResultList controls

These controls are used to search users by alias, names, keywords, or phone number.

For more information about how to use the controls to enable enhanced presence, see Lync 2013 SDK documentation.

Microsoft Lync 2013 API

This is the automation API for Microsoft Lync 2013. It allows an application to leverage and extend the enhanced presence features as well as other collaboration functionality supported by Lync 2013. As with the Lync 2013 Controls, the enhanced presence data is encapsulated by the API objects and accessible through the properties on these objects. Lync 2013 API supports more enhanced presence features supported by Lync 2013 than the Lync 2013 Controls does. For more information about how to use the controls to enable enhanced presence, see Lync 2013 SDK documentation.

Microsoft Unified Communications Managed API 4.0

This API is more versatile in terms of the feature support. It can be used to build a full-fledged unified communications client, middle-tier, or server application. A UCMA application has the full control of the enhanced presence features, including grammar-based and grammar-free presence publication, custom container semantics, and custom presence categories. The general enhanced presence programming examples presented in this documentation are created using this API.

See also

Concepts

Programming with Enhanced Presence