#Ronit

1 messages · Page 1 of 1 (latest)

serene doveBOT
blazing gust
#

Hello, can you tell me more about what you mean by "floating progress"?

mental silo
#

i want the floating value how long it comes in this function
func reader(_ reader: Reader, didReportReaderSoftwareUpdateProgress progress: Float)

blazing gust
#

I am researching that and will tell you what I find. Can you link to the doc or example product where you see that function being used?

blazing gust
#

Thank you

mental silo
#

i want to check how frequently i am getting the update so i can inform user that update is available and installing

blazing gust
#

It does not look like this callback is called at a set frequency. That event is triggered at the speed of the update

#

"how frequently i am getting the update" can you tell me more about what you mean by that?

mental silo
#

ohk so speed of the update is i want to check

#

because i am making progress bar for this update

blazing gust
#

The progress float will be between 0 and 1. So if progress is 0.5 you can show the progress bar as halfway full

#

We don't give a time estimate in that callback. I think you would have to get the current time each time you get an update and then compare those to estimate the time remaining.