Play a system sound and wait for completion.
#include <bps/soundplayer.h>
BPS_API int soundplayer_play_sound_blocking(const char *name)
BlackBerry 10.0.0
The name of the system sound.
The soundplayer_play_sound_blocking() function plays the specified system sound and returns after the sound finishes playing.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.