| Line 1: |
Line 1: |
| − | <pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;"> | + | <pre class="header-style"> |
| − | This trigger will be triggered when the selected gesture is performed on the fingerprint sensor. | + | This trigger will fire when the selected gesture is performed on the fingerprint sensor. |
| | + | </pre> |
| | + | |
| | + | ''' Options ''' |
| | + | |
| | + | * '''Swipe Up''' - Trigger fires when you swipe upward on the fingerprint sensor. |
| | + | |
| | + | * '''Swipe Down''' - Trigger fires when you swipe downward on the fingerprint sensor. |
| | | | |
| − | Additional note.
| + | * '''Swipe Left''' - Trigger fires when you swipe left on the fingerprint sensor. |
| | | | |
| − | Note that not all devices support this trigger, as some do not implement the standard Android fingerprint gesture APIs.
| + | * '''Swipe Right''' - Trigger fires when you swipe right on the fingerprint sensor. |
| − | </pre> | + | |
| | + | ''' Examples ''' |
| | + | |
| | + | Example 1: Quick notification panel access |
| | + | |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Fingerprint Gesture [Swipe Down]</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Expand Notification Drawer</pre> |
| | + | |
| | + | Example 2: Previous/Next media controls |
| | + | |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Fingerprint Gesture [Swipe Left]</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Media Controls: Previous Track</pre> |
| | + | |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Fingerprint Gesture [Swipe Right]</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Media Controls: Next Track</pre> |
| | + | |
| | + | Example 3: Quick app launcher |
| | + | |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Fingerprint Gesture [Swipe Up]</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Launch Application: Camera</pre> |
| | | | |
| − | '''Example Usage'''<br/> | + | ''' Notes ''' |
| − | When you perform the up-down gesture, the notification bar will be displayed, only if the device is unlocked.
| |
| − | <pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
| |
| − | Triggers
| |
| | | | |
| − | Fingerprint gesture (Swipe down)
| + | * '''Important:''' Many devices cannot support this trigger, as they do not implement the standard Android fingerprint gesture APIs. |
| − | </pre><br>
| + | * This trigger requires the MacroDroid Accessibility Service to be enabled. |
| − | <pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
| + | * If the accessibility service is already enabled when you first use this trigger, you may need to toggle it off and on again for fingerprint gesture detection to activate. |
| − | Actions
| + | * A notification will be shown the first time this trigger is configured, prompting you to toggle the accessibility service. |
| | + | * Fingerprint gesture support is only available on devices with rear-mounted fingerprint sensors that support gesture recognition. |
| | + | * This feature was added in Android 8.0 (API 26) but device support varies significantly. |
| | | | |
| − | Pull down notification bar
| + | ''' Permissions Required ''' |
| − | </pre><br>
| |
| − | <pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
| |
| − | Constrains
| |
| | | | |
| − | Device unlocked
| + | * Accessibility Service must be enabled |
| − | </pre><br>
| |
| − | <pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;">
| |
| − | Local variables
| |
| | | | |
| | + | ''' See Also ''' |
| | | | |
| − | </pre><br>
| + | * [[Trigger:_Shake_Device|Shake Device Trigger]] |
| | + | * [[Trigger:_Flip_Device|Flip Device Trigger]] |
| | + | * [[Action:_Expand/Collapse_Status_Bar|Expand/Collapse Status Bar Action]] |