by Ken Tobias
These are the starting blocks of your custom flow for Proximity Utility.
In order to receive the counter from Proximity Utility, we will use broadcast receive block. The broadcast extras will be store in variable a.
We will use fork block because the parent fiber must return to broadcast receive block because it will receive the broadcast when Proximity Utility is done counting.
The variable a is the data we receive from Proximity Utility. It is a dictionary with 2 keys:
• counter - this key holds the number of times your finger was detected by your proximity sensor.
• screen - this key has value of 1 or 0. It simply tells if screen is on. 1 is means the screen is on.
👋Proximity Utility - https://llamalab.com/automate/community/flows/10716
Reviews and ratings can be submitted in the app.