vibration_event_get_intensity()

Retrieve the intensity setting of a vibration.

Synopsis:

#include <bps/vibration.h>
 
BPS_API int vibration_event_get_intensity(bps_event_t *event,
                                          int *intensity)

Since:

BlackBerry 10.0.0

Arguments:

event

The VIBRATION_INFO event to get the intensity from.

intensity

This is set to the intensity of the current vibration.

Library:

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

Description:

The vibration_event_get_intensity() function retrieves the vibration intensity from a VIBRATION_INFO event.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.

Last modified: 2014-09-30



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

comments powered by Disqus