de: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 device information.
Syntax
<device xmlns="http://schemas.microsoft.com/2006/09/sip/device"
endpointId="...">
<capabilities>...</capabilities>
<timezone>...</timezone>
<machineName>...</machineName>
...
</device>
Attributes
Attribute |
Data Type |
Description |
---|---|---|
xmlns |
string |
Optional, XML namespace to which this element belongs. The namespace name is "http://schemas.microsoft.com/2006/09/sip/device". |
endpointId |
string |
The ID of the endpoint associated with this device. Required. |
majorVersion |
int |
Optional, major version number. |
minorVersion |
int |
Optional, minor version number. |
Parent Element
Element |
Description |
---|---|
This is a top-level element in the Enhanced Presence Schemas. |
It is enveloped within an application-defined or API-specific container element when the device information is transmitted over the wire. |
Child Elements
Element |
Occurrence |
Description |
---|---|---|
1 |
Describes the capabilities of the device. |
|
1 |
Describes the current timezone of the endpoint, when the device information is valid. |
|
1 |
Describes the machine name of the device. |
|
0 or more |
Begins a schema extension to this element. |
|
0 or more |
Ends the schema extension or extensions to this element. |
|
0 or more |
Custom extension to this element. |
Remarks
Schema extensions are enclosed within ct:delimiter elements and a ct:end element and can be any elements in the same namespace. Custom extension is specified by a ct:extension element.
Examples
XML Example of the device Element
<?xml version="1.0" encoding="utf-8" ?>
<de:device xmlns:de="http://schemas.microsoft.com/2006/09/sip/device"
endpointId="3CC22CF7-1BEA-5A5E-B256-E662173CD273">
<de:capabilities preferred="false" uri="sip:bob@contoso.com">
<de:text capture="false" render="true"publish="false" />
<de:gifInk capture="false" render="true"publish="false" />
<de:isfInk capture="false" render="true"publish="false" />
</de:capabilities>
<de:timezone>00:00:00-7:00</de:timezone>
<de:machineName>BOB_client</de:machineName>
<ct:delimiter>
<de:any>schema extension</de:any>
<ct:end>
<ct:extension>
<other:any>custom extension</other:any>
...
</ct:extension>
</device>