Publishing presence

Applies to: Skype for Business 2015

Microsoft Unified Communications Managed API 5.0 permits automatic presence publications for UCMA 5.0 endpoints during endpoint establishment. This applies to the ApplicationEndpoint and UserEndpoint types.

Automatic presence publication

Automata and automated service applications that persist their presence information (such as by publishing "always online") can use simplified APIs to publish this information one time during endpoint startup. Similarly, user endpoints can have their presence information enabled at startup and can use the simplified APIs to maintain their presence information for the life of the endpoint. This functionality can be achieved by setting a single property.

Using UCMA 5.0, it is also easy to modify or delete an existing presence publication. UCMA 5.0 can be used to delete or modify all publications that are made to different relationship levels to address different types of watchers.

For more information, see Presence, contacts, and groups.

Simplified category publication

For applications whose publishing needs are more complex, UCMA 5.0 provides classes for common presence categories, including the ContactCard, PresenceState, Note, and Services classes. The developer is not expected to know the XML schema for the common presence categories. However, XML can be used in advanced scenarios that involve publishing advanced categories (such as the routing category, which is used to specify routing rules for forwarding incoming calls), or publishing a custom category.

For more information about registering a custom category name with Skype for Business Server 2015, see Registering custom category names.