vibration_get_domain()

Retrieve the unique domain ID for the vibration service.

Synopsis:

#include <bps/vibration.h>
 
BPS_API int vibration_get_domain()

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_get_domain() function retrieves the unique domain ID for the vibration service. Use this function in your application to test whether an event that you retrieve using the bps_get_event() function is an vibration event, and respond accordingly.

Returns:

The domain ID for the Vibration service.

Last modified: 2014-05-14



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

comments powered by Disqus