PreKeyDataSource
Constructors
Functions
Fetches the IDs of the prekeys currently available on the backend.
Forces the insert of the ID of the most recent "rolling" prekey that was generated. Useful
Also known as "last prekey", it's the prekey that the backend will share with other clients when it runs out of prekeys for this client. For "rolling" prekeys, see generateNewPreKeys.
Generate prekeys to be uploaded to the backend and shared with other clients in order to initialise a new conversation with this client.
Observes the last pre-key check instant.
Returns the ID of the most recent "rolling" prekey that was generated.
Sets the last prekey refill check date.
Updates the ID of the most recent "rolling" prekey that was generated.
Uploads a batch of prekeys to the backend, so they become available for other clients to start sessions with this client.