Class | Purpose |
---|---|
PduPersister | 用于管理PDU存儲 |
PduParser | 用于解析PDU |
PduComposer | 用于生成PDU |
Return | Method | Description |
---|---|---|
PduPersister | getPduPersister(Context) | Get the object |
Uri | persist(GenericPdu, Uri) | 把一個GenericPdu保存到Uri所指定的數(shù)據(jù)庫中,返回指向新生成數(shù)據(jù)的Uri |
GenericPdu | load(Uri) | 從數(shù)據(jù)庫把Uri所指的數(shù)據(jù)加載出來成一個GenericPdu對象 |
Uri | move(Uri, Uri) | 把Pdu從一個地方移到另一個地方,比如從草稿箱移動到發(fā)件箱,當(dāng)MMS已發(fā)送時。 |
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 |
新聞熱點
疑難解答
圖片精選