Component: Vibrate ( Data)
From Flowcode Help
Jump to navigationJump to search| Author | MatrixTSL |
| Version | 1.0 |
| Category | Data |
Contents
Vibrate component
Component that causes the mobile device to vibrate.
Version information
Library Version, Component Version, Date, Author, Info 1, 1.0, 21-04-26, ST, Created
Detailed description
Many mobile devices such as mobile phones have internal hardware which can cause the device to vibrate.
This component provides access to this and allows the device to be vibrated using a pattern of vibrations and pauses.
Examples
Vibration example
This simple example shows how to vibrate a mobile device using a set of buttons.
The web app created by this example can be viewed here: VibrationTest Example
Macro reference
Cancel
| Cancel | |
| Cancels any ongoing vibration | |
| Return | |
Vibrate
| Vibrate | |
| Send the preset vibration pattern to the mobile device | |
| Return | |
VibrateCustom
| VibrateCustom | |
| Send a custom vibration pattern to the mobile device | |
| Pattern | |
| An array of values describing the vibration pattern period | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WEBEXP_Vibrate.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_Vibrate.fcsx