Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: kavery on May 18, 2018, 02:12:24 PM

Title: How to know when android app is paused? [Solved]
Post by: kavery on May 18, 2018, 02:12:24 PM
For a public demo, I would like to restart the app when the running android build goes into a system level pause/idle (meaning a user has stopped engagement). The Vive Focus goes idle when you take it off.  Is there a way to trigger an event for this?

Right now it resumes where it was left by previous user.
Title: Re: How to know when android app is paused?
Post by: Kathar on May 19, 2018, 07:07:49 PM
Think this should be answered in your other thread, but yes there's System Events for these. Just assign a Global Transition > System Event such as APPLICATION PAUSED to a state, and this state will be triggered when this system event occurs.