>
Allows you to react to long pressing the physical volume buttons on your device.
To use this event you need to grant the special SET_VOLUME_KEY_LONG_PRESS_LISTENER permission. Check out how to do so here.
Important Note: This doesn't seem to work reliably with the screen off in all situations. It seems to work very reliably if music is playing and less reliably otherwise. This is due to system limitations on those devices and it's not something Tasker can control.
Important Note 2: If you're using Lineage OS or similar make sure to disable its own handling of long pressing the volume keys when the screen is off or it won't work at all with Tasker.
To check out an example of how this can be used check out this video.