diff --git a/src/MauiShakeDetector/IShakeDetector.cs b/src/MauiShakeDetector/IShakeDetector.cs index 3a299aa..1736f4b 100644 --- a/src/MauiShakeDetector/IShakeDetector.cs +++ b/src/MauiShakeDetector/IShakeDetector.cs @@ -69,6 +69,12 @@ public interface IShakeDetector event EventHandler? ShakeDetected; #nullable disable + /// + /// Shake stopped event for detecting whether shake detector is stopped when Auto Stop is more than 0 + /// +#nullable enable + event EventHandler? ShakeStopped; +#nullable disable /// /// Shake Detected Command for detecting whether user shook the device /// @@ -77,6 +83,11 @@ public interface IShakeDetector /// ICommand ShakeDetectedCommand { get; set; } + /// + /// Shake stopped command for detecting whether shake detector is stopped when Auto Stop is more than 0 + /// + ICommand ShakeStoppedCommand { get; set; } + /// /// Start listening for shake event ///