de:calendar

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Specifies presence capabilities of a device endpoint to handle the calendar data.

Syntax

<calendar uri="..."
          preferredEndpoint="..."
          preferred="..."
          render="..." 
          capture="..." 
          publish="..." 
          version="..." 
          deviceAvailability="..." />

Attributes

Attribute

Data Type

Description

uri

xs:anyURI

Specifies the URI of the capability. In the calendar this is the SMTP address of the user. Optional.

render

xs:boolean

This attribute is not used in the calendar.

capture

xs:boolean

Specifies whether the device can receive the calendar information of the given user (true) or not (false). This is optional and the default value is false.

publish

xs:boolean

Specifies whether the device can publish the calendar information of the given user to the presence (true) or not (false). This is optional and the default value is false.

version

xs:unsignedInt

Specifies the version of this calendar information. This is optional with a default value of 0.

deviceAvailability

xs:unsignedInt

Specifies the availability (range) of the device (endpoint) chosen for publishing calendar information. This attribute is used when the calendar element is present in the service category. This is optional.

preferred

xs:boolean

Specifies whether the device is preferred (true) or not (false). This is optional and the default value is false.

preferredEndpointId

xs:string

Specifies the ID of the preferred endpoint. Optional.

Tag Content

None

Parent Element

Element

Description

de:capabilities

The presence capabilities of the device.

Child Elements

None

Remarks

Other attributes are permitted on this element.

Examples

Description

The following XML fragment specifies that the device can display the calendar information of alice@contoso.com and publishes the data to the user presence.

Code

<de:device xmlns:se="http://schemas.microsoft.com/2006/09/sip/device">
  <de:capabilities>
    <de:calendar uri="alice@contoso.com" render="true" publish="true" />
  </de:capabilities>
</de:service>

See Also

Reference

se:calendar