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:

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

Description:

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.

Last modified: 2014-05-14



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

comments powered by Disqus