ie.ncl.sms.nbs
Class IconMessage
java.lang.Object
ie.ncl.msg.Message
ie.ncl.msg.BinaryMessage
ie.ncl.sms.nbs.SmartMessage
ie.ncl.sms.nbs.IconMessage
- All Implemented Interfaces:
- java.io.Serializable
public class IconMessage
- extends SmartMessage
Class is used to create a Caller Group Icon smart message.
This is a message containing a picture that
can be associated with caller groups
(set up when icon is received on the phone).
A user puts telephone address book entries in a particular
caller group (like family, friends, VIPs, collegues).
When a call comes through from a number that is in the (say) family
group, the family Caller Group Icon is displayed.
This class allows you to add new Caller Group Icons.
- See Also:
- Serialized Form
Field Summary |
static int |
MAXIMUM_HEIGHT
This is the maximum height of a LogoMessage bitmap. |
static int |
MAXIMUM_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 |
MAXIMUM_WIDTH
public static final int MAXIMUM_WIDTH
- This is the maximum width of a LogoMessage bitmap.
- See Also:
- Constant Field Values
MAXIMUM_HEIGHT
public static final int MAXIMUM_HEIGHT
- This is the maximum height of a LogoMessage bitmap.
- See Also:
- Constant Field Values
IconMessage
public IconMessage(Address addr,
ie.ncl.util.bin.Bitmap bm)
throws NBSException
- Create a caller group icon message.
This can then be sent to a mobile phone
using NarrowBandSocket.send().
- Throws:
NBSException
- See Also:
NarrowBandSocket.send(SmartMessage)
,
Bitmap
IconMessage
public IconMessage(Address addr,
byte[] bm)
throws NBSException
- Throws:
NBSException