getOldestPushNotifications
abstract suspend fun getOldestPushNotifications(limit: Int, credentialId: String? = null): List<PushNotification>
Retrieve the oldest push notifications.
Return
A list of the oldest push notifications.
Parameters
limit
The maximum number of notifications to retrieve.
credentialId
Optional ID of a specific credential to retrieve notifications for.
Throws
if the notifications cannot be retrieved.