retrySendPingletsIfAllowed
fun BlinkIdSdk.Companion.retrySendPingletsIfAllowed(triggerPoint: PingRetrySendTriggerPoint, actionOnFinish: () -> Unit? = null)
Retries sending previously failed pinglet envelopes if the retry trigger point is active and ping is enabled.
This function attempts to resend any pinglet envelopes that failed to send previously and are stored in persistent storage. The retry will only happen if:
The provided trigger point is in the list of active retry trigger points
The SDK is already initialized and has ping enabled in its license
Parameters
triggerPoint
The event that triggered the retry request
actionOnFinish
Optional callback to execute when the retry operation completes (regardless of success or failure)