Methods Summary |
---|
public int | getContentClass()Get X-Mms-Content-Class Value.
return mPduHeaders.getOctet(PduHeaders.CONTENT_CLASS);
|
public byte[] | getContentLocation()Get X-Mms-Content-Location value.
When used in a PDU other than M-Mbox-Delete.conf and M-Delete.conf:
Content-location-value = Uri-value
return mPduHeaders.getTextString(PduHeaders.CONTENT_LOCATION);
|
public int | getDeliveryReport()Get X-Mms-Delivery-Report Value.
return mPduHeaders.getOctet(PduHeaders.DELIVERY_REPORT);
|
public long | getExpiry()Get X-Mms-Expiry value.
Expiry-value = Value-length
(Absolute-token Date-value | Relative-token Delta-seconds-value)
return mPduHeaders.getLongInteger(PduHeaders.EXPIRY);
|
public EncodedStringValue | getFrom()Get From value.
From-value = Value-length
(Address-present-token Encoded-string-value | Insert-address-token)
return mPduHeaders.getEncodedStringValue(PduHeaders.FROM);
|
public byte[] | getMessageClass()Get X-Mms-Message-Class value.
Message-class-value = Class-identifier | Token-text
Class-identifier = Personal | Advertisement | Informational | Auto
return mPduHeaders.getTextString(PduHeaders.MESSAGE_CLASS);
|
public long | getMessageSize()Get X-Mms-Message-Size value.
Message-size-value = Long-integer
return mPduHeaders.getLongInteger(PduHeaders.MESSAGE_SIZE);
|
public EncodedStringValue | getSubject()Get subject.
return mPduHeaders.getEncodedStringValue(PduHeaders.SUBJECT);
|
public byte[] | getTransactionId()Get X-Mms-Transaction-Id.
return mPduHeaders.getTextString(PduHeaders.TRANSACTION_ID);
|
public void | setContentClass(int value)Set X-Mms-Content-Class Value.
mPduHeaders.setOctet(value, PduHeaders.CONTENT_CLASS);
|
public void | setContentLocation(byte[] value)Set X-Mms-Content-Location value.
mPduHeaders.setTextString(value, PduHeaders.CONTENT_LOCATION);
|
public void | setDeliveryReport(int value)Set X-Mms-Delivery-Report Value.
mPduHeaders.setOctet(value, PduHeaders.DELIVERY_REPORT);
|
public void | setExpiry(long value)Set X-Mms-Expiry value.
mPduHeaders.setLongInteger(value, PduHeaders.EXPIRY);
|
public void | setFrom(EncodedStringValue value)Set From value.
mPduHeaders.setEncodedStringValue(value, PduHeaders.FROM);
|
public void | setMessageClass(byte[] value)Set X-Mms-Message-Class value.
mPduHeaders.setTextString(value, PduHeaders.MESSAGE_CLASS);
|
public void | setMessageSize(long value)Set X-Mms-Message-Size value.
mPduHeaders.setLongInteger(value, PduHeaders.MESSAGE_SIZE);
|
public void | setSubject(EncodedStringValue value)Set subject.
mPduHeaders.setEncodedStringValue(value, PduHeaders.SUBJECT);
|
public void | setTransactionId(byte[] value)Set X-Mms-Transaction-Id.
mPduHeaders.setTextString(value, PduHeaders.TRANSACTION_ID);
|