Motorola maxx V6 manual Draft Subject to Change 116/201, MMS Message Types, MultipartMessage

Models: maxx V6

1 201
Download 201 pages 31.32 Kb
Page 116
Image 116

Java ME Developer Guide

Chapter 15 - JSR-205 - WMA 2.0

The multipart message addressing model contains different types of addresses:

global telephone number of recipient user, including telephone number, ipv4, ipv6 addresses

e-mail address as specified in RFC 822

short-code of the service (not valid for MMS version 1.0)

The syntax of the URL connection strings shall follow the rules specified in the JSR- 205 specification.

15.1.4 MMS Message Types

MMS messages can be sent using MULTIPART_MESSAGE type of this API. The default type of message is multipart/related. If the content type header does not contain start parameter, the message type is assumed to be multipart/mixed. This section describes Multipart Message, and its related classes. Messaging framework is de- scribed in the JSR-120 chapter of this developer guide.

15.1.5 MultipartMessage

The WMA shall implement the MultipartMessage an interface representing a multipart message. This is a sub interface of Message which contains methods to add, remove and manipulate message parts. The interface also allows to specifying the subject of the message.

Please refer to JSR-205 specification for more details.

15.1.6 MessagePart

The WMA shall implement the MessagePart a class representing a media part that can be sent with the message. Instances of MessagePart class are added to the Mul- tipartMessage.

Each message part consists of part header and part body. The part headers include Content ID, Content Location, Content type, Encoding scheme. Content can be of any MIME type.

DRAFT - Subject to Change [116/201]

Page 116
Image 116
Motorola maxx V6 manual Draft Subject to Change 116/201, MMS Message Types, MultipartMessage, MessagePart