soundplayer_error_t

Possible Sound Player errors.

Synopsis:

#include <bps/soundplayer.h>
 
typedef enum {
      SOUNDPLAYER_ERROR_OK = 0   
      SOUNDPLAYER_ERROR_BAD_PARAMETER = 1   
      SOUNDPLAYER_ERROR_NOT_ENABLED = 2   
      SOUNDPLAYER_ERROR_RECEIVE_QUEUE_FULL = 3   
      SOUNDPLAYER_ERROR_RECEIVE_QUEUE_FULL_FOR_CLASS = 4   
      SOUNDPLAYER_ERROR_UNKNOWN_CLASS = 5   
      SOUNDPLAYER_ERROR_UNKNOWN_SOUND = 6   
      SOUNDPLAYER_ERROR_UNKNOWN_FILE = 7   
} soundplayer_error_t;

Since:

BlackBerry 10.2.0

Data:

SOUNDPLAYER_ERROR_OK
No error.
SOUNDPLAYER_ERROR_BAD_PARAMETER
Bad parameter.
SOUNDPLAYER_ERROR_NOT_ENABLED
Not enabled.
SOUNDPLAYER_ERROR_RECEIVE_QUEUE_FULL
Receive queue full.
SOUNDPLAYER_ERROR_RECEIVE_QUEUE_FULL_FOR_CLASS
Receive queue full for clase.
SOUNDPLAYER_ERROR_UNKNOWN_CLASS
Unknown class.
SOUNDPLAYER_ERROR_UNKNOWN_SOUND
Unknown sound.
SOUNDPLAYER_ERROR_UNKNOWN_FILE
Unknown file.

Library:

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

Description:

This enumeration defines the possible errors generated by the sound player service.