Best practice to set an input when a timeline transitions to another state

Hi,

I’m trying to understand the best practice in Rive for updating an input right when a timeline finishes and transitions to another state.
Context: on my Android player, I need to detect the end of an animation before triggering an action in the app.

Is there a built-in hook/event for this in the State Machine, or should I manually track the timeline progress from the Android runtime?

Thanks!
Tom