Reply To: How to add onFinish callback to PlayFromSection?

Slate Forums Support How to add onFinish callback to PlayFromSection? Reply To: How to add onFinish callback to PlayFromSection?

#2242
Gavalakis
Keymaster

Hey, sorry for the late reply. I somehow missed your post :-/

Here is how to use lambda:

In case of PlayFromSection method, the existing overload that accepts callback requires to also provide a wrapping method parameter:

You can alternatively also replace the lambda with a method if that is easier for you. So for example:

Let me know if that works for you.

🙂

Join us on Discord: https://discord.gg/97q2Rjh