-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michael Kuczera
committed
Aug 5, 2024
1 parent
7463a1e
commit a05a218
Showing
4 changed files
with
33 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// RNHapticFeedbackSpec.h | ||
// RNHapticFeedback | ||
// | ||
// Created by Michael Kuczera on 05.08.24. | ||
// Copyright © 2024 Facebook. All rights reserved. | ||
// | ||
#import <Foundation/Foundation.h> | ||
|
||
@protocol NativeHapticFeedbackSpec <NSObject> | ||
|
||
// Indicates whether the device supports haptic feedback | ||
- (Boolean)supportsHaptic; | ||
|
||
// Triggers haptic feedback with the given intensity | ||
- (void)triggerHapticFeedback:(NSString *)feedbackType; | ||
|
||
@end |