Parsing Lync-published category instances
Applies to: Lync 2013 | Lync Server 2013
The following table shows how to parse some of the presence category instances that are published by Microsoft Lync 2013.
Category name |
Presence data |
Description |
||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
freeBusy information |
Lync 2013 describes the contiguous block of free and busy time slots according to the user’s calendar. The following is an example of a calendar data containing a freeBusy block.
In this example, the length of the smallest time slot is 15 minutes that is specified by the granularity attribute PT15M value, where PT stands for Pacific Time. |
|||||||||||||||||||||||||||||||
Availability |
Lync 2013 interprets the received availability number as follows.
|
|||||||||||||||||||||||||||||||
Standard Activities |
Lync 2013 interprets the received activity tokens as the following standard activity strings, if the activity element is not specified in a received aggregateState instance.
NOTE: Activity tokens are case-sensitive. |
|||||||||||||||||||||||||||||||
Default Activity Strings |
Lync 2013 maps the availability modes to the following default activity strings, if no activity is specified in the received aggregateState instance.
|
|||||||||||||||||||||||||||||||
Activity string display |
Lync 2013 uses the following logic to display a contact’s activity string:
|
|||||||||||||||||||||||||||||||
Capabilities Summary String |
Lync 2013 displays the following capabilities summary string to supplement an activity string.
|
|||||||||||||||||||||||||||||||
lastActive attribute |
For an inactive mode of Available – Idle, Busy – Idle, Be Right Back, Away, or Offline, Lync 2013 displays the time period in which an aggregated state has remained inactive since the last active mode of Available, Busy, or Do Not Disturb. This inactive time period is appended to an inactive state as "Inactive for 5 mins", "Away for 5 hours" or "Offline for 20 mins". The following example shows how this scenario is computed. lastActiveTime has the value of the lastActive attribute of an appropriate aggregated state. `inactiveTimePeriod = currentTime - lastActiveTime` |
|||||||||||||||||||||||||||||||
Location |
The subscriber receives a computed location that is determined in the following manner: When the aggregated availability number is less than 12000 and the most active computer (with the lowest availability number) has its location specified (in the state/endpointLocation element element), this location information will be included in the state[@type='aggregateState'] element instance. NOTE: The received location information indicates a place either set by the publisher or provided by the Microsoft Lync Server 2013 Location Information Service. The location information that the publisher wants the remote watchers to see is present. It's not necessarily the location where the user is actually located. |
|||||||||||||||||||||||||||||||