Line 18: |
Line 18: |
| | | |
| ==<p><b>Requires a trigger to operate</b></p>== | | ==<p><b>Requires a trigger to operate</b></p>== |
| + | |
| + | === App Install/Remove/Update === |
| + | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">[app_name] - Returns the name of the application that was launched, for example "MacroDroid". |
| + | |
| + | [app_package] - Returns the package name of the application that was launched, for example, if it were MacroDroid the response would be "com.arlosoft.macrodroid". |
| + | </pre> |
| | | |
| === Apllication Launched/Closed === | | === Apllication Launched/Closed === |
Line 24: |
Line 30: |
| [app_package] - Returns the package name of the application that was launched, for example, if it were MacroDroid the response would be "com.arlosoft.macrodroid". | | [app_package] - Returns the package name of the application that was launched, for example, if it were MacroDroid the response would be "com.arlosoft.macrodroid". |
| </pre> | | </pre> |
| + | |
| + | === Call (Active, Ended, Incoming, Missed, Outgoing) === |
| + | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">[call_number] - Returns the number from which the call was received. |
| + | |
| + | [call_name] - Returns the name from where the call was received if available. |
| + | |
| + | For example, if you receive a call from 1234567890 registered as MacroDroid user |
| + | [call_number] = 1234567890 |
| + | [call_name] = MacroDroid user |
| + | </pre> |
| + | |
| + | === Bluethooth (Device connected or device disconnected) === |
| + | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| + | [bluetooth_device_name] - Returns the name of the bluetooth device, may be more useful when using the "Any device" option. |
| + | |
| + | For example, if headphones are connected, it will return the device name. |
| + | [bluetooth_device_name] = Headphones 1 Pro |
| + | |
| + | </pre> |
| + | |
| | | |
| __TOC__ | | __TOC__ |