com.objectxp.mms
Interface MMSReadReport

All Superinterfaces:
MMSReport
All Known Subinterfaces:
MM7ReadReport

public interface MMSReadReport
extends MMSReport

This interface represents a MMS Read Report.

A Read Report is generated by the MMSC when a multimedia message has been read by the recipient. Read Reports are only provided for outgoing messages that have requested a Read Report.

Notice: Provisioning of a Read Report is up to the recipient of the multimedia message. Most MMS capable mobile phones will never provide a Read Report.

Since:
jSMS 2.2
See Also:
MMSListener.handleReadReport(MMSService, MMSReadReport)

Field Summary
static int STATUS_DELETED
          Status: Deleted without being read
static int STATUS_READ
          Status: Read
static int STATUS_UNKNOWN
          Status: Unknown
 
Method Summary
 MMSAddress getFrom()
          Get the address of the originator of the Read Report, i.e. the recipient of the original multimedia message.
 int getReadStatus()
          Get the status of the message.
 
Methods inherited from interface com.objectxp.mms.MMSReport
getApplicationId, getAuxApplicationInfo, getDate, getMessageId, getReplyApplicationId, getTO
 

Field Detail

STATUS_UNKNOWN

static final int STATUS_UNKNOWN
Status: Unknown

See Also:
Constant Field Values

STATUS_READ

static final int STATUS_READ
Status: Read

See Also:
Constant Field Values

STATUS_DELETED

static final int STATUS_DELETED
Status: Deleted without being read

See Also:
Constant Field Values
Method Detail

getFrom

MMSAddress getFrom()
Get the address of the originator of the Read Report, i.e. the recipient of the original multimedia message.

Returns:
the recipient address (or null if not available).

getReadStatus

int getReadStatus()
Get the status of the message.

Returns:
STATUS_READ or STATUS_DELETED or STATUS_UNKNOWN


object XP, Inc. © 2000-2008. All rights reserved object XP