ie.ncl.sms.nbs
Class PictureMessage
java.lang.Object
ie.ncl.msg.Message
ie.ncl.msg.BinaryMessage
ie.ncl.sms.nbs.SmartMessage
ie.ncl.sms.nbs.PictureMessage
- All Implemented Interfaces:
- java.io.Serializable
public class PictureMessage
- extends SmartMessage
Class is used to create a picture message.
- See Also:
- Serialized Form
Field Summary |
static int |
MAX_HEIGHT
This is the maximum height of a LogoMessage bitmap. |
static int |
MAX_WIDTH
This is the maximum width of a LogoMessage bitmap. |
Fields inherited from class ie.ncl.sms.nbs.SmartMessage |
CR, LF, PORT_COMPACT_BUSINESS_CARD, PORT_DYNAMIC_MENU_CONTROL_PROTOCOL, PORT_ICON_READER, PORT_INTERNET_ACCESS_CONFIGURATION, PORT_JAVA, PORT_OPERATOR_LOGO, PORT_PICTURE_MESSAGE, PORT_RING_TONE, PORT_SERVICE_CARD, PORT_SIMPLE_EMAIL_NOTIFICATION, PORT_TTML, PORT_UP_BROWSER, PORT_UP_LINK, PORT_UP_MAIL, PORT_VCALENDAR, PORT_VCARD, PORT_WINK, TRANSFER_MODE_BINARY, TRANSFER_MODE_TEXT |
Methods inherited from class ie.ncl.sms.nbs.SmartMessage |
encodeToSms, getDestinationPort, getMaximumFragmentLength, getNbsHeader, getPreferredTransferMode, getSourcePort, isForCdmaNetwork, isMaximumFragmentLengthSet, isPortNumberInEachFragment, setForCdmaNetwork, setMaximumFragmentLength, setPreferredTransferMode |
Methods inherited from class ie.ncl.msg.Message |
getAttribute, getAttributes, getCorrelationID, getDestination, getID, getSource, getType, putAttribute, removeAttribute, setAttributes, setCorrelationID, setDestination, setID, setSource, setType |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_WIDTH
public static final int MAX_WIDTH
- This is the maximum width of a LogoMessage bitmap.
- See Also:
- Constant Field Values
MAX_HEIGHT
public static final int MAX_HEIGHT
- This is the maximum height of a LogoMessage bitmap.
- See Also:
- Constant Field Values
PictureMessage
public PictureMessage(Address addr,
ie.ncl.util.bin.Bitmap bm,
java.lang.String text,
boolean unicode)
throws NBSException
- Create a picture message.
A picture message can have additional text prepended to the
message.
This can then be sent to a mobile phone
using NarrowBandSocket.send().
- Throws:
NBSException
- See Also:
NarrowBandSocket.send(SmartMessage)
,
Bitmap
PictureMessage
public PictureMessage(Address addr,
ie.ncl.util.bin.Bitmap bm,
java.lang.String text)
throws NBSException
- Throws:
NBSException
PictureMessage
public PictureMessage(Address addr,
byte[] bm,
java.lang.String text)
throws NBSException
- Throws:
NBSException