-
-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect Shake Stopped #16
Comments
Can you be a bit clear in what exactly you want done ? Just so you know its a single event that a shake is detected, and not that a shake has started and stopped. Such events can occur as multiple shakes detected but it is not detected as a stream of when a shake was started and when it was stopped. That is so because the detection works of by calculating the diff in acceleration and deceleration that happens and compares it for a threshold value. |
in my case i'm doing something in my app , as long as user keep shaking its phone , but when it stop's it must revert back all operation what were done while shaking , now i understand how that , i propose there should be onShakStop function too in the interface which can detect the continues shaking have been stopped ?? And i hope it is not that difficult:
|
- allow to detect shake stopped with ability to define when to declare that shake event is stopped
@Zulqurnain the latest release(1.6.0) the option to detect when shake gesture is stopped. Closing as fixed. |
How to detect shake is stopped ?
The text was updated successfully, but these errors were encountered: