mirror of
https://github.com/status-im/react-native.git
synced 2025-01-20 22:39:20 +00:00
9ec9567390
Differential Revision: D6261799 fbshipit-source-id: 269e151c5d136c1d508d9f2a060c0c670d0fe0f2
712 B
712 B
id | title | layout | category | permalink | next | previous |
---|---|---|---|---|---|---|
vibrationios | VibrationIOS | docs | APIs | docs/vibrationios.html | layout-props | vibration |
NOTE: VibrationIOS
is being deprecated. Use Vibration
instead.
The Vibration API is exposed at VibrationIOS.vibrate()
. On iOS, calling this
function will trigger a one second vibration. The vibration is asynchronous
so this method will return immediately.
There will be no effect on devices that do not support Vibration, eg. the iOS simulator.
Vibration patterns are currently unsupported.
Methods
Reference
Methods
vibrate()
static vibrate()
@deprecated