Media player events

Media player events.

Synopsis:

#include <bps/mediaplayer.h>
 
enumĀ {
      MEDIAPLAYER_ACQUIRE_RESULT =  1   
      MEDIAPLAYER_REVOKE =  2   
      MEDIAPLAYER_COMMAND =  3   
      MEDIAPLAYER_BUTTON =  4   
      MEDIAPLAYER_RELEASE_RESULT =  5   
      MEDIAPLAYER_REGISTER_RESULT =  6   
      MEDIAPLAYER_REGISTER_BUTTON_RESULT =  7   
      MEDIAPLAYER_BUTTON_RESULT =  MEDIAPLAYER_REGISTER_BUTTON_RESULT   
      MEDIAPLAYER_DEREGISTER_BUTTON_RESULT =  8   
};

Since:

BlackBerry 10.0.0

Data:

MEDIAPLAYER_ACQUIRE_RESULT
An acquired request has been processed.
MEDIAPLAYER_REVOKE
The player's state as the active media player in the system is being revoked.

The player should immediately stop playback and free up multimedia resources. It is the player's responsibility to re-acquire the right to play content after receiving this event.

MEDIAPLAYER_COMMAND
Requests the media player to handle a command.
MEDIAPLAYER_BUTTON
A button has been pressed.
MEDIAPLAYER_RELEASE_RESULT
A release request has been processed.
MEDIAPLAYER_REGISTER_RESULT
A register request has been processed.
MEDIAPLAYER_REGISTER_BUTTON_RESULT
A button registration request has been processed.

MEDIAPLAYER_BUTTON_RESULT
Deprecated: A button registration request has been processed.

Deprecated:

Use MEDIAPLAYER_REGISTER_BUTTON_RESULT instead

MEDIAPLAYER_DEREGISTER_BUTTON_RESULT
A button deregistration request has been processed.

Library:

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

Description:

This enumeration defines the available Media player events.