Retrieve the intensity setting of a vibration.
#include <bps/vibration.h>
BPS_API int vibration_event_get_intensity(bps_event_t *event,
int *intensity)
BlackBerry 10.0.0
The VIBRATION_INFO event to get the intensity from.
This is set to the intensity of the current vibration.
The vibration_event_get_intensity() function retrieves the vibration intensity from a VIBRATION_INFO event.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.