Commit 48237d54 authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Small doc clarification to HapticFeedback.vibrate (#10217)

Eliminate the implementation detail of which function is called to
trigger vibration on iOS, instead report the vibration constant.

Also note that not all iOS devices support haptic feedback (e.g., older
iPod touch devices).
parent c9d21ecd
...@@ -15,8 +15,8 @@ class HapticFeedback { ...@@ -15,8 +15,8 @@ class HapticFeedback {
/// Provides haptic feedback to the user for a short duration. /// Provides haptic feedback to the user for a short duration.
/// ///
/// On iOS, this uses the platform "sound" for vibration (via /// On iOS devices that support haptic feedback, this uses the default system
/// `AudioServicesPlaySystemSound`). /// vibration value (`kSystemSoundID_Vibrate`).
/// ///
/// On Android, this uses the platform haptic feedback API to simulates a /// On Android, this uses the platform haptic feedback API to simulates a
/// short tap on a virtual keyboard. /// short tap on a virtual keyboard.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment