I want to imitate the Apple Watch "success" and "failure" vibration patterns in my custom app.
Does anyone have the following information for the various user experiences
- Intensity
- Timing
- Pattern
- (direction?)
- ???
User Experience Stack Exchange is a question and answer site for user experience researchers and experts. It only takes a minute to sign up.
Sign up to join this communityI want to imitate the Apple Watch "success" and "failure" vibration patterns in my custom app.
Does anyone have the following information for the various user experiences
In watchOS Human Interface Guidelines apple provide audio of "success" and "failure" vibration. https://developer.apple.com/watchos/human-interface-guidelines/interactions/#haptic-feedback
Apple watch use hardware they call taptic engine. Vibration is generated by linear repeating moving.
(gif source: www.ifixit.com)
Standard haptic feedback patterns are now exposed in iOS 10. Here are some examples in C#/Xamarin
#region Override Methods
public override void ViewDidLoad()
{
base.ViewDidLoad();
// Perform any additional setup after loading the view, typically from a nib.
}
#endregion
#region Custom Actions
partial void ImpactAction(Foundation.NSObject sender)
{
// Initialize feedback
var impact = new UIImpactFeedbackGenerator(UIImpactFeedbackStyle.Heavy);
impact.Prepare();
// Trigger feedback
impact.ImpactOccurred();
}
partial void NotificationAction(Foundation.NSObject sender)
{
// Initialize feedback
var notification = new UINotificationFeedbackGenerator();
notification.Prepare();
// Trigger feedback
notification.NotificationOccurred(UINotificationFeedbackType.Error);
}
partial void SelectionAction(Foundation.NSObject sender)
{
// Initialize feedback
var selection = new UISelectionFeedbackGenerator();
selection.Prepare();
// Trigger feedback
selection.SelectionChanged();
}
#endregion