|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.objectxp.msg.Message
com.objectxp.msg.SmsMessage
com.objectxp.msg.ota.OTAMessage
com.objectxp.msg.ota.BrowserSettings
public abstract class BrowserSettings
Browser Settings provide handsets with basic settings needed to establish a connection to be used for browsing. These settings may also include bookmarks.
This class cannot be used directly, instead use one of the classes below, depending on the bearer type.
GsmCsdBrowserSettingsGsmSmsBrowserSettingsGsmUssdBrowserSettingsIs136CsdBrowserSettingsGPRSBrowserSettings
| Field Summary |
|---|
| 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 |
| Fields inherited from class com.objectxp.msg.Message |
|---|
ACK_TIME, MT_BINARY, MT_STATUS, MT_TEXT, SENDER_TYPE_ALPHA, SENDER_TYPE_GUESS, SENDER_TYPE_NUMBER |
| Method Summary | |
|---|---|
void |
addBookmark(Bookmark bookmark)
Add a Bookmark to this Browser Settings. |
java.util.Iterator |
getBookmarks()
Returns an Iterator over all Bookmarks. |
java.lang.String |
getBrowserSettingID()
Returns the ID which has been set by setBrowserSettingID(String)
or null if the ID is not set. |
java.lang.String |
getMMSURL()
Returns the URL of the MMSC. |
java.lang.String |
getName()
Get the user-recognisable name for te BrowserSettings. |
int |
getPort()
Get the current port setting. |
java.lang.String |
getProxy()
Returns the proxy address or null if unset. |
boolean |
removeBookmark(Bookmark bookmark)
Remove a Bookmark from the Browser Settings. |
void |
setBrowserSettingID(java.lang.String id)
Define an ID to be used to provide some security to the provisioning application. |
void |
setMMSURL(java.lang.String url)
Specify the URL of the MMSC. |
void |
setName(java.lang.String name)
Set the user-recognisable name for the BrowserSettings. |
void |
setPort(int port)
Set the port number. |
void |
setProxy(java.lang.String address)
Specify the address of the proxy. |
| Methods inherited from class com.objectxp.msg.ota.OTAMessage |
|---|
buildParts, buildParts, getParts, toString |
| Methods inherited from class com.objectxp.msg.Message |
|---|
clone, getProperty, getSenderType, getTimestamp, setID, setProperty, setSenderType |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void setProxy(java.lang.String address)
throws java.lang.IllegalArgumentException
GsmUssdBrowserSettings.setProxyIPV4(boolean).
address - the proxy address (max length: 21) or null to clear the
proxy address.
java.lang.IllegalArgumentException - if the address length exceeds 21 characters.public java.lang.String getProxy()
public void setPort(int port)
throws java.lang.IllegalArgumentException
If no Port is specified, a default value of 9200 is assumed.
port - the port number, one of 9200,9201,9202,9203
java.lang.IllegalArgumentException - if an illegal port value has been specified.public int getPort()
public void addBookmark(Bookmark bookmark)
Several bookmarks can be added to the Browser Settings. However, the maximum number of bookmarks accepted is manufacturer specific.
bookmark - the bookmark to addpublic java.util.Iterator getBookmarks()
public boolean removeBookmark(Bookmark bookmark)
bookmark - the Bookmark to remove
public void setBrowserSettingID(java.lang.String id)
throws java.lang.IllegalArgumentException
Support for the ID is manufacturer specific.
id - the ID (max length: 8), use null to clear the ID.
java.lang.IllegalArgumentException - if the length of the ID exceeds
8 characters.public java.lang.String getBrowserSettingID()
setBrowserSettingID(String)
or null if the ID is not set.
public void setName(java.lang.String name)
throws java.lang.IllegalArgumentException
name - the name (maximum length: 20) or null to clear the name
java.lang.IllegalArgumentException - if the length of the name exceeds 20 characters.public java.lang.String getName()
public void setMMSURL(java.lang.String url)
throws java.lang.IllegalArgumentException
url - the MMSC URL (max length: 100) or null to clear the URL.
java.lang.IllegalArgumentException - if the length of the URL exceeds 100 characters.public java.lang.String getMMSURL()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||