0

I'm a beginner with Lottie, and I have a basic question:

I have a band which provides my app information about the heart rate of the user in the BPM unit.

I had downloaded from lottiefiles.com a JSON file of heart animation which shows exactly what I want - number BPM.

My problem is that I don't know how to set dynamically values in the animation whenever I get a new BPM value from the band.

Unfortunately, I didn't found how to do so after searching on the internet.

I suspect that maybe the function animationView.SetValue can help, but I don't sure exactly how.

Any help will be appreciated!!

Checksum
  • 317
  • 1
  • 5
  • 18
MrSonic
  • 363
  • 3
  • 10
  • I think lottie animation is simply for showing. I dont think it can customize – Anand Mar 04 '19 at 08:48
  • Based on my research, you can not `animationView.SetValue` to set the BPM of Lottie animations,But you could use `Lable` to cover the Lottie animations when animations is stop. – Leon Mar 04 '19 at 10:43
  • I'm not sure I understand the query. You want the animation to play on the rate of your user's heart BPM ? – Umar3x Mar 09 '19 at 11:43
  • Have you found an answer? @MrSonic – Dior Oct 07 '22 at 05:38

0 Answers0