| 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 |
新聞熱點
疑難解答
圖片精選