Get started with Lync conversations

Learn about programming Microsoft Lync 2013 conversations with Microsoft Lync 2013 SDK.

Applies to: Lync 2013 | Lync Server 2013

      

What is a Lync 2013 conversation?

A Microsoft Lync 2013 conversation is a dialog in IM text, audio, video, or desktop sharing modalities between two or more Lync users. When only two people are in the conversation, the conversation involves only two computer endpoints. This is known as a peer-to-peer conversation. When more than two people are in the conversation, the conversation endpoints include the Lync Server 2013 endpoint that aggregates the conversation modalities so that all participants can see and hear the contributions of other participants.

The Lync 2013 API exposes classes that encapsulate the endpoints, modalities, and participants in a conversation. These classes let you create an application that can give a user the same immersive experience that is available by using the Lync 2013 client.

Get started with Lync 2013 conversations

The prerequisites for working with Lync 2013 conversations are as follows:

  • Microsoft Lync 2013 SDK

  • Visual Studio 2010 or Visual Studio 2012

  • Microsoft Lync 2013

Lync 2013 conversation essentials

To understand how to work with Lync 2013 conversations, it's important to become familiar with the concepts in the following table.

Concept

Description

Conversation manager

Describes the role of the ConversationManager object in starting and joining conversations.

Conversation modalities

Describes how conversation modes are encapsulated by Modality objects.

Conversation participants

Describes how Microsoft.Lync.Model.Conversation.Participant objects represent Lync 2013 users in a conversation.

What can you do with Lync 2013 conversations?

Microsoft Lync 2013 SDK gives you the ability to start conversations in all Lync 2013 modalities, join conversations, extend the conversation experience by embedding application specific information in extensions to conversation windows, and perform call transfer operations such as holding, transferring, and forwarding audio/video Lync 2013 calls.

The following table lists basic tasks for working with Lync 2013 conversations.

Task

Description

How to: Join a Lync conversation

Learn how to use Microsoft Lync 2013 SDK to code a feature that lets a user join a Lync 2013 conversation after receiving an invitation from another Lync 2013 user or a federated user.

How to: Start a Lync IM conversation

Learn how to use Microsoft Lync 2013 SDK to programmatically start a Lync 2013 conversation, invite a user, and send the first IM text.

How to: Start an automation audio conversation

Learn how to use Microsoft Lync 2013 SDK to automate opening a new Lync 2013 conversation window to host an audio conversation with another Lync 2013 user.

How to: Dock a conversation window in Lync SDK

Learn how to dock a Microsoft Lync 2013 conversation window inside a WPF window and respond to conversation window sizing and attention events to prevent the conversation window from undocking when its size changes.

How to: Create a Conversation Window Extension application in Lync SDK

Learn how to create a simple Microsoft Silverlight application that sends and receives information in conversation context and use Microsoft Lync 2013 SDK to run it in a Microsoft Lync 2013 Conversation Window Extension (CWE).

How to: Install a CWE application in Lync SDK

Learn how to create a registry (.reg) file that registers a Microsoft Lync 2013 Conversation Window Extension (CWE) on a computer so that the CWE can be opened in a Lync 2013 conversation window.

How to: Start an extension application in a Lync conversation window

Learn how to set Microsoft Lync 2013 Conversation Window Extension properties, set CWE size and hosting location at runtime, and then start an IM conversation.

How to: Send and receive context information in a Lync conversation

Learn how to use Microsoft Lync 2013 SDK to send contextual data in a Microsoft Lync 2013 conversation when the Lync clients at all endpoints have been suppressed.

How to: Start a Lync audio conversation

Learn how to start an audio conversation. This process involves creating a conversation with a local and remote participant and connecting to the remote participant using the participant’s audio/video (AV) modality. To complete this process, you must handle state change events on both the client’s ConversationManager instance and the conversation itself.

How to: Park and unpark a Lync audio conversation

Learn how to use the call park feature, which can be used programmatically with Microsoft Lync 2013 SDK and provides a call hold and call park feature.

How to: Forward a Lync audio conversation

Learn how to programmatically forward a Microsoft Lync 2013 audio call.

How to: Transfer a Lync audio conversation

Learn how to programmatically transfer a Microsoft Lync 2013 audio call.

How to: Hold and retrieve a Lync audio conversation

Learn how to programmatically hold and retrieve a Microsoft Lync 2013 audio call.

How to: Handle delegated Lync audio calls

Learn how to programmatically handle a delegated Microsoft Lync 2013 audio call.

Beyond the basics: Learn more about Lync 2013 conversations

After you have added basic conversation features to your application, you have the experience necessary to add new features such as conversation window docking, extending the conversation window itself with context specific functionality, and call delegation so that Lync 2013 can take calls on behalf of another user.

The following table lists advanced concepts for working with Lync 2013 conversations.

Concept

Description

Conversation window docking

Learn about the Microsoft Lync 2013 conversation window docking feature that lets you host a conversation window inside a container control in your application.

Lync Conversation Window Extension

Learn about the Conversation Window Extension (CWE) feature of the Microsoft Lync 2013 client conversation window and how a CWE is opened, closed, and sized.

Contextual Lync conversations

Learn about contextual conversations in Lync 2013 and about application scenarios, application development models, and contextual extension application package registration.

Call delegation in Lync

Learn about the call delegation feature in Microsoft Lync 2013 SDK that allows a user to take Lync 2013 calls on behalf of another user.

See also