CdmaSmsBroadcastConfigInfopublic class CdmaSmsBroadcastConfigInfo extends Object CdmaSmsBroadcastConfigInfo defines one configuration of Cdma Broadcast
Message to be received by the ME
serviceCategory defines a Broadcast message identifier
whose value is 0x0000 - 0xFFFF as defined in C.R1001G 9.3.1 and 9.3.2.
All other values can be treated as empty message ID.
language defines a language code of Broadcast Message
whose value is 0x00 - 0x07 as defined in C.R1001G 9.2.
All other values can be treated as empty language code.
selected false means message types specified in serviceCategory
are not accepted, while true means accepted. |
Fields Summary |
---|
private int | mFromServiceCategory | private int | mToServiceCategory | private int | mLanguage | private boolean | mSelected |
Constructors Summary |
---|
public CdmaSmsBroadcastConfigInfo(int fromServiceCategory, int toServiceCategory, int language, boolean selected)Initialize the object from rssi and cid.
mFromServiceCategory = fromServiceCategory;
mToServiceCategory = toServiceCategory;
mLanguage = language;
mSelected = selected;
|
Methods Summary |
---|
public int | getFromServiceCategory()
return mFromServiceCategory;
| public int | getLanguage()
return mLanguage;
| public int | getToServiceCategory()
return mToServiceCategory;
| public boolean | isSelected()
return mSelected;
| public java.lang.String | toString()
return "CdmaSmsBroadcastConfigInfo: Id [" +
mFromServiceCategory + ", " + mToServiceCategory + "] " +
(isSelected() ? "ENABLED" : "DISABLED");
|
|