vibration_is_supported()

Determine whether the device supports vibration.

Synopsis:

#include <bps/vibration.h>
 
BPS_API bool vibration_is_supported(void)

Since:

BlackBerry 10.0.0

Arguments:

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The vibration_is_supported() function checks to see if the device supports the Vibration service.

Returns:

true if the Vibration service is supported, false otherwise.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus