Allows you to use the device's vibration functionality.
You need to add a reference to
"Fuse.Vibration" in your project file to use this feature.
The following code vibrates the device for 0.8 seconds.
var vibration = require('FuseJS/Vibration'); vibration.vibrate(0.8);
- Fuse.Vibration 1.9.0
Interface of VibrationModule
Inherited from NativeModule
Inherited from Module
GetFile : FileSource uno
Returns the file source that will be watched by the Context for changes in Fuse preview. Override in subclasses and return correct file source to support live updates in Fuse preview.