soundplayer_play_sound()
Play a system sound.
Synopsis:
#include <bps/soundplayer.h>
BPS_API int soundplayer_play_sound(const char *name)
Since:
BlackBerry 10.0.0
Arguments:
- name
-
The name of the system sound.
Library:
libbpsDescription:
The soundplayer_play_sound() function plays the specified system sound. This function may return before the sound finishes playing.
Returns:
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.