| Class | Purpose |
|---|---|
| PduPersister | 用于管理PDU存储 |
| PduParser | 用于解析PDU |
| PduComposer | 用于生成PDU |
| Return | Method | Description |
|---|---|---|
| PduPersister | getPduPersister(Context) | Get the object |
| Uri | persist(GenericPdu, Uri) | 把一个GenericPdu保存到Uri所指定的数据库中,返回指向新生成数据的Uri |
| GenericPdu | load(Uri) | 从数据库把Uri所指的数据加载出来成一个GenericPdu对象 |
| Uri | move(Uri, Uri) | 把Pdu从一个地方移到另一个地方,比如从草稿箱移动到发件箱,当MMS已发送时。 |
| Return | Method | Description |
|---|---|---|
| PduParser | PduParser(byte[]) | Construct an object |
| GenericPdu | parse() | Parse the PDU byte stream into Android PDU GenericPdu |
| Return | Method | Description |
|---|---|---|
| PduComposer | PduComposer(Context, GenericPdu) | Construct an object |
| byte[] | make() | Transfer the GenericPdu into a PDU byte stream |
新闻热点
疑难解答
图片精选