Share via


st:device

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.

Contains the type of device.

Syntax

<st:device 
        xmlns:st="http://schemas.microsoft.com/2009/06/sip/state">
   </st:device>

Attributes

None

Tag Content

Default Value

Data Type

Description

none

xs:token

Contains a value representing the type of device. Possible values are "computer", "deskphone", "mobile", and "web".

Parent Element

Element

Description

st:state

A presence state described, in part, by this element.

Child Elements

None

Remarks

Note

This element is introduced in the Microsoft Office Communicator 2007 R2 release.

Office Communicator publishes the following values to indicate the type of device:

  • computer
    Office Communicator

  • deskphone
    Office Communicator phone edition

  • mobile
    Office Communicator mobile edition

  • web
    Office Communicator Web access

Other applications built on the Unified Communications platform should publish a value that is appropriate for the type of the device running the application, or publish web when the application is a Web application.

Examples

XML example of the device element

<state xsi:type="aggregateState" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns="http://schemas.microsoft.com/2006/09/sip/state">
  <availability>3500</availability>
  <delimiter xmlns="http://schemas.microsoft.com/2006/09/sip/commontypes" />
  <device>computer</device>
  <end xmlns="http://schemas.microsoft.com/2006/09/sip/commontypes" />
</state>