Play sounds (soundplayer.h)

Functions to play system sounds.

This file defines the Sound Player service, which provides functions for playing system sounds.

You can play system sounds by calling soundplayer_play_sound(). For increased performance, you can call soundplayer_prepare_sound() before calling the soundplayer_play_sound() function. Calling the soundplayer_prepare_sound() function can improve the response time of the soundplayer_play_sound() function.

Currently, the following system sounds are available, and you can pass these values to soundplayer_prepare_sound() and soundplayer_play_sound():

Since:
BlackBerry 10.0.0