SQLPushStorage
SQLite-based implementation of PushStorage. This class directly extends SQLiteStorage with Push-specific functionality.
Functions
Clear all Push credentials from the storage.
Clear all Push device tokens from the storage.
Clear all Push notifications from the storage.
Count the number of push notifications.
Retrieve all stored push credentials.
Retrieve all stored push device tokens.
Retrieve all stored push notifications.
Retrieve a push credential by issuer and account name. Performs case-sensitive comparison to detect duplicate credentials.
Retrieve the current push device token.
Retrieve a push notification by message ID.
Retrieve the oldest push notifications.
Retrieve all pending push notifications.
Initialize the Push storage. This method initializes the database and tables.
Purge push notifications by age.
Purge push notifications by count (removes oldest notifications when count exceeds the limit).
Remove a push credential by its ID.
Remove a push notification by its ID.
Remove all push notifications associated with a credential.
Retrieve a specific push credential by ID.
Retrieve a specific push notification by ID.
Store a push credential.
Store a push device token.
Store a push notification.
Update a push notification.