mediacontroller_event_get_previous_enabled()

Retrieve whether the previous track functionality should be enabled from the MEDIACONTROLLER_METADATA event.

Synopsis:

#include <bps/mediacontroller.h>
 
BPS_API bool mediacontroller_event_get_previous_enabled(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The MEDIACONTROLLER_METADATA event to extract the previous track enabled state from.

Library:

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

Description:

The mediacontroller_event_get_metadata_previous_enabled() function extracts whether the previous track functionality should be enabled from the specified MEDIACONTROLLER_METADATA event. Enabled in this sense implies that there is a previous track to proceed to should the command be sent (see the mediacontroller_previous_track() function for more details).

Returns:

The boolean value representing the previous track enabled state. Returning false indicates disabled, and true indicates enabled.

Last modified: 2014-05-14



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

comments powered by Disqus