retryUpload

fun retryUpload(screen: Screen)

The method instructs the SDK to retry and upload a failed UIResource, for example, when a packet loss occurs.

It is recommended to override the Screen.onResourceUploadResult, and to check the UIResource.failedToUpload status.

Note: infinite consecutive failed upload attempts may harm the rendering performance. Consider limiting the re-upload attempts (it is an option that the UIResource is corrupted)