|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface representing a service indication message.
The Service Indication (SI) message sends notifications to wap terminals in an asynchronous manner. These notifications may, for example, be about new email, changes in stock price, news headlines, advertising, or reminders of various types.
In its most basic form, a Service Indication (SI) contains a short message and a URI indicating a service. When the client device receives the SI, the user is given the choice either to start the service indicated by the URI immediately or postpone the SI for later handling. If the user postpones the SI, the client device stores it and the user is given the opportunity to act upon it later.
Method Summary | |
ServiceIndicationAction |
getAction()
Returns the type of action this SI enables. |
java.lang.String |
getHref()
Returns the URI used to access the indicated service. |
java.lang.String |
getMessage()
Returns the alert text displayed on the client device. |
void |
setAction(ServiceIndicationAction action)
Sets the the type of action this SI enables. |
void |
setHref(java.lang.String href)
Sets the the URI used to access the indicated service. |
void |
setMessage(java.lang.String message)
Sets the alert text displayed on the client device. |
Methods inherited from interface org.mgif.connectivity.async.Message |
getDeliveryNotification, getExpiration, getMessageId, getTimestamp, numberOfSegments, send, setDeliveryNotification, setExpiration |
Methods inherited from interface org.mgif.connectivity.transfer.Datagram |
getLocale, getLocales, getProtocol, getScheme, getTerminalId |
Methods inherited from interface org.mgif.connectivity.transfer.Attributes |
getAttribute, getAttributeNames, getAttributes, isAttribute, removeAttribute, setAttribute |
Method Detail |
public ServiceIndicationAction getAction()
public java.lang.String getHref()
public java.lang.String getMessage()
public void setAction(ServiceIndicationAction action)
action
- the ServiceIndicationAction indicating the
action typepublic void setHref(java.lang.String href)
href
- String specifying the service URI, or nullpublic void setMessage(java.lang.String message)
message
- the String specifying the alert text
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |