Search code examples
ucmalync-2010

How do I access the Lync 2010 whiteboard feature in the UCMA 3.0 SDK?


I am building a web application that uses the UCMA API 3.0 to establish a Lync 2010 chat between our customers on our website and our support team. Chat and even video work great but, one of the reasons we picked Lync is the great Whiteboard feature in the communications tools. I cannot seem to find any reference to it in the UCMA sdk though... Can anyone point me in the right direction?


Solution

  • Alright - I found the answer finally and wanted to post it here in case other people needed it. When you create a conference in UCMA you have to add "MCU" types to it that allow the different features Lync supports. Here is a quick example of how to "schedule" the conference:

    ConferenceScheduleInformation inf = new ConferenceScheduleInformation();
    inf.AccessLevel = ConferenceAccessLevel.Everyone;
    inf.IsPasscodeOptional = true;
    inf.Description = "Description";
    inf.ExpiryTime = DateTime.Now.AddHours(2);
    
    inf.Mcus.Add(new ConferenceMcuInformation(McuType.Meeting));
    inf.Mcus.Add(new ConferenceMcuInformation(McuType.InstantMessaging));
    inf.Mcus.Add(new ConferenceMcuInformation(McuType.ApplicationSharing));
    
    app_Endpoint.ConferenceServices.BeginScheduleConference(inf, EndScheduleConference, app_Endpoint.ConferenceServices);