public interface PreKeyStore
PreKeyRecords.| Modifier and Type | Method and Description |
|---|---|
boolean |
containsPreKey(int preKeyId) |
PreKeyRecord |
loadPreKey(int preKeyId)
Load a local PreKeyRecord.
|
void |
removePreKey(int preKeyId)
Delete a PreKeyRecord from local storage.
|
void |
storePreKey(int preKeyId,
PreKeyRecord record)
Store a local PreKeyRecord.
|
PreKeyRecord loadPreKey(int preKeyId) throws InvalidKeyIdException
preKeyId - the ID of the local PreKeyRecord.InvalidKeyIdException - when there is no corresponding PreKeyRecord.void storePreKey(int preKeyId,
PreKeyRecord record)
preKeyId - the ID of the PreKeyRecord to store.record - the PreKeyRecord.boolean containsPreKey(int preKeyId)
preKeyId - A PreKeyRecord ID.void removePreKey(int preKeyId)
preKeyId - The ID of the PreKeyRecord to remove.