Proximity Utility: Starting blocks [KT]

by Kenneth Tobias

Version 1 (June 9, 2017)

Download (115 downloads)

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.

Link:
👋Proximity Utility - https://llamalab.com/automate/community/flows/10716

5.0 average rating from 1 reviews

5 stars
1
4 stars
0
3 stars
0
2 stars
0
1 star
0
Warnings
0

Reviews and ratings can be submitted in the app.