Difference between revisions of "Trigger: Headphones Insert/Removed"
m |
m |
||
Line 2: | Line 2: | ||
This trigger will fire when headphones are connected or removed from the device. | This trigger will fire when headphones are connected or removed from the device. | ||
</pre> | </pre> | ||
− | + | <br> | |
'''Example Usage'''<br/> | '''Example Usage'''<br/> | ||
Stop the music when the headphones are disconnected | Stop the music when the headphones are disconnected | ||
Line 16: | Line 16: | ||
</pre><br> | </pre><br> | ||
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;"> | <pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;"> | ||
− | + | Constraints | |
Revision as of 08:13, 25 May 2023
This trigger will fire when headphones are connected or removed from the device.
Example Usage
Stop the music when the headphones are disconnected
Triggers Headphones removed
Actions Control media (Media Stop - simulate media stop button)
Constraints
Local variables