PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Required permissions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Stops the vibrations of the device (even if they have been triggered by another application).
Caution:
  • The device must be equipped with a vibration system.
  • This function has no effect in the simulator or in the emulator.
  • Versions 17 and later
    iPhone/iPad This function is useless in the iPhone and iPad applications. Indeed, VibrationTrigger is used to make the phone vibrate during a period of time not exceeding 1 second.
    New in version 17
    iPhone/iPad This function is useless in the iPhone and iPad applications. Indeed, VibrationTrigger is used to make the phone vibrate during a period of time not exceeding 1 second.
    iPhone/iPad This function is useless in the iPhone and iPad applications. Indeed, VibrationTrigger is used to make the phone vibrate during a period of time not exceeding 1 second.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Android Widget This function is now available in Android Widget mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Trigger the vibrations during one second
VibrationTrigger(1000)

// Trigger the vibrations alternatively every 300 milliseconds
arrPeriod is array of int
arrPeriod = [300,300]
VibrationTrigger(arrPeriod, True)

// Stop the vibrations
VibrationStop()
Syntax
VibrationStop()
Remarks
AndroidAndroid Widget

Required permissions

The call to this function modifies the permissions required by the application.
Required permission: VIBRATE
This permission is used to access the vibration feature.
Components
Android wd230android.jar
Minimum required version
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment