public final class SmsBroadcastConfigInfo extends Object
<fromServiceId, toServiceId>
and <fromCodeScheme, toCodeScheme>
are not accepted, while true means accepted.Constructor and Description |
---|
SmsBroadcastConfigInfo(int fromId,
int toId,
int fromScheme,
int toScheme,
boolean selected)
Initialize the object from rssi and cid.
|
Modifier and Type | Method and Description |
---|---|
int |
getFromCodeScheme() |
int |
getFromServiceId() |
int |
getToCodeScheme() |
int |
getToServiceId() |
boolean |
isSelected() |
void |
setFromCodeScheme(int fromCodeScheme) |
void |
setFromServiceId(int fromServiceId) |
void |
setSelected(boolean selected) |
void |
setToCodeScheme(int toCodeScheme) |
void |
setToServiceId(int toServiceId) |
String |
toString()
Returns a string representation of the object.
|
public SmsBroadcastConfigInfo(int fromId, int toId, int fromScheme, int toScheme, boolean selected)
public void setFromServiceId(int fromServiceId)
fromServiceId
- the fromServiceId to setpublic int getFromServiceId()
public void setToServiceId(int toServiceId)
toServiceId
- the toServiceId to setpublic int getToServiceId()
public void setFromCodeScheme(int fromCodeScheme)
fromCodeScheme
- the fromCodeScheme to setpublic int getFromCodeScheme()
public void setToCodeScheme(int toCodeScheme)
toCodeScheme
- the toCodeScheme to setpublic int getToCodeScheme()
public void setSelected(boolean selected)
selected
- the selected to setpublic boolean isSelected()
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())