public class GsmSmsCbMessage extends Object
SmsCbMessage
object. The class is
public because createSmsCbMessage(SmsCbLocation, byte[][])
is used by some test cases.Modifier and Type | Method and Description |
---|---|
static SmsCbMessage |
createSmsCbMessage(SmsCbHeader header,
SmsCbLocation location,
byte[][] pdus)
Create a new SmsCbMessage object from a header object plus one or more received PDUs.
|
static SmsCbMessage |
createSmsCbMessage(SmsCbLocation location,
byte[][] pdus)
Create a new SmsCbMessage object from one or more received PDUs.
|
public static SmsCbMessage createSmsCbMessage(SmsCbHeader header, SmsCbLocation location, byte[][] pdus) throws IllegalArgumentException
pdus
- PDU bytesIllegalArgumentException
public static SmsCbMessage createSmsCbMessage(SmsCbLocation location, byte[][] pdus) throws IllegalArgumentException
location
- the location (geographical scope) for the messagepdus
- PDU bytesIllegalArgumentException