firebase custom events

Im trying to create event that provide me with users who spend more than 1 hour in my android app.

Can anyone provide me with the steps i should follow to achieve that.

Tanks in advanced.