com.objectxp.msg.ota
Class ServiceLoading
java.lang.Object
com.objectxp.msg.Message
com.objectxp.msg.SmsMessage
com.objectxp.msg.ota.OTAMessage
com.objectxp.msg.ota.ServiceLoading
- All Implemented Interfaces:
- MultiPartMessage, java.io.Serializable, java.lang.Cloneable
public class ServiceLoading
- extends OTAMessage
The ServiceLoading class represents the OTA ServiceLoading content type (SL).
A ServiceLoading message provides the ability to cause a WAP browser on a
mobile phone to load and execute a URL. If appropriate, the mobile phone
loads this URL without any user intervention.
- Since:
- jSMS 2.0.2
- See Also:
- Serialized Form
| Fields inherited from class com.objectxp.msg.SmsMessage |
CLASS_0, CLASS_1, CLASS_2, CLASS_3, DC_8BIT, DC_DEFAULT, DC_GROUP_DATA, DC_GROUP_GENERAL, DC_GROUP_MSG_WAITING_DISCARD, DC_GROUP_MSG_WAITING_STORE, DC_UCS2, INDICATION_ACTIVE, INDICATION_INACTIVE, INDICATION_TYPE_EMAIL, INDICATION_TYPE_FAX, INDICATION_TYPE_OTHER, INDICATION_TYPE_VOICEMAIL, NO_CLASS |
|
Constructor Summary |
ServiceLoading(java.lang.String url)
Construct a new Service Indication (SI). |
ServiceLoading(java.lang.String url,
java.lang.String action)
Construct a new Service-Loading message (SL). |
|
Method Summary |
void |
setAction(java.lang.String action)
Set the action for this SI. |
void |
setURL(java.lang.String url)
Set the URL for this SI. |
| Methods inherited from class com.objectxp.msg.SmsMessage |
containsUserDataHeader, copyFields, getAlphabet, getBytes, getCodingGroup, getDeferredDeliveryAsDate, getDeferredDeliveryInMinutes, getID, getIndicationState, getIndicationType, getMessage, getMessageClass, getParent, getPID, getRecipient, getRecipientAddress, getSender, getSenderAddress, getType, getUserData, getUserDataHeader, getValidityPeriodAsDate, getValidityPeriodInMinutes, hasDeferredDelivery, hasMessageClass, hasValidityPeriod, isCompressed, isMMS, isRejectDuplicates, isRelativeDeferredDelivery, isRelativeValidityPeriod, isReplyPath, requestStatusReport, requestStatusReport, setAlphabet, setCodingGroup, setCompression, setDeferredDelivery, setDeferredDelivery, setIndicationState, setIndicationType, setMessage, setMessage, setMessageClass, setMMS, setParent, setPID, setRecipient, setRecipientAddress, setRejectDuplicates, setReplyPath, setSender, setSenderAddress, setType, setUserData, setUserDataHeader, setUserDataHeader, setValidityPeriod, setValidityPeriod |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ACTION_EXECUTE_LOW
public static final java.lang.String ACTION_EXECUTE_LOW
- See Also:
- Constant Field Values
ACTION_EXECUTE_HIGH
public static final java.lang.String ACTION_EXECUTE_HIGH
- See Also:
- Constant Field Values
ACTION_CACHE
public static final java.lang.String ACTION_CACHE
- See Also:
- Constant Field Values
ServiceLoading
public ServiceLoading(java.lang.String url,
java.lang.String action)
- Construct a new Service-Loading message (SL).
- Parameters:
url - the URL to indicateaction - the SL action.
ServiceLoading
public ServiceLoading(java.lang.String url)
- Construct a new Service Indication (SI).
- Parameters:
url - the URL to indicate
setURL
public void setURL(java.lang.String url)
- Set the URL for this SI. If no URL is present, the SI corresponds to a
notification (no service can be initiated).
- Parameters:
url - the URL
setAction
public void setAction(java.lang.String action)
- Set the action for this SI. If no action is specified, it defaults to
ACTION_EXECUTE_LOW.
- Parameters:
action - one of: ACTION_EXECUTE_HIGH, ACTION_EXECUTE_LOW,
ACTION_CACHE.
object XP, Inc. © 2000-2008. All rights reserved object XP