Difference between revisions of "Component: Vibrate ( Data)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | MatrixTSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray;...") |
|||
| Line 13: | Line 13: | ||
==Vibrate component== | ==Vibrate component== | ||
| − | Component that causes the mobile device to vibrate | + | Component that causes the mobile device to vibrate. |
| + | |||
==Version information== | ==Version information== | ||
| Line 21: | Line 22: | ||
| + | ==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== | ==Examples== | ||
| − | + | ===Vibration example=== | |
| + | This simple example shows how to vibrate a mobile device using a set of buttons. | ||
| + | |||
| + | {{Fcfile|VibrationTest.fcweb|VibrationTest.fcweb}} | ||
| + | |||
| + | The web app created by this example can be viewed here: [https://www.flowcode.co.uk/example/WebComps/VibrationTest.html VibrationTest Example] | ||
| + | |||
==Macro reference== | ==Macro reference== | ||
Latest revision as of 15:46, 27 April 2026
| 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