Dela via


2.2.2.32 NativeBodyType

The NativeBodyType element is an optional child element of the airsync:ApplicationData element ([MS-ASCMD]) in the Sync command that specifies the original format type of the item.

The value of this element is an unsignedByte value ([MS-ASDTYPE] section 2.8).

A command response MUST have a maximum of one NativeBodyType element per airsync:ApplicationData element. Command requests can include the NativeBodyType element.

The NativeBodyType element MUST have no child elements.

The following table defines the valid values of the NativeBodyType element.

Value

Description

1

Plain text

2

HTML

3

RTF

The NativeBodyType and Type elements have the same value unless the server has modified the format of the body to match the client's request. The client can specify a preferred body format by using the Type element of a Search or Sync command request.

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support

2.5

12.0

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes