Line 29: |
Line 29: |
| | | |
| [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><br> |
| + | |
| + | === 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><br> | | </pre><br> |
| | | |
Line 39: |
Line 48: |
| [call_number] = 1234567890 | | [call_number] = 1234567890 |
| [call_name] = MacroDroid user | | [call_name] = MacroDroid user |
− | </pre><br>
| |
− |
| |
− | === 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><br> | | </pre><br> |
| | | |
Line 71: |
Line 71: |
| | | |
| [sms_number] =+1 12345678 | | [sms_number] =+1 12345678 |
| + | </pre><br> |
| + | |
| + | === Logcat === |
| + | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| + | [logcat_line] - Returns the reference logcat line configured in the trigger. |
| + | </pre><br> |
| + | |
| + | === Notifications === |
| + | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| + | [not_title] - Notification title. |
| + | |
| + | [not_ticker] - Notification ticker text, is a brief text that scrolls temporarily across the status bar of an Android device when a new notification arrives. This feature was removed in Android 5.0 Lollipop, but it can still be found on some devices or restored using third-party apps. |
| + | |
| + | [notification] - Notification text. |
| + | |
| + | [not_sub_text] - Notification sub text, is a secondary text element that provides additional context or detail to a notification. |
| + | |
| + | [not_text_lines] - Notification big text, is a feature that allows to display a more significant amount of text within a notification. |
| + | |
| + | [not_action_names] - Notification actions names, are clickable buttons or links embedded within notifications that allow users to perform specific tasks directly without opening the associated app. |
| + | |
| + | [not_app_name] - Notification app name, is the name of the app that generated the notification. |
| + | |
| + | [not_app_package] - Notification app package, It is the package name of the application that created the notification. |
| </pre><br> | | </pre><br> |
| | | |
Line 87: |
Line 111: |
| [spotify_is_playing]- Returns a boolean state (true or false). | | [spotify_is_playing]- Returns a boolean state (true or false). |
| </pre><br> | | </pre><br> |
| + | |
| + | |
| | | |
| __TOC__ | | __TOC__ |