mediacontroller_event_get_next_enabled()

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

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

event

The MEDIACONTROLLER_METADATA event to extract the next 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_next_enabled() function extracts whether the next track functionality should be enabled from the specified MEDIACONTROLLER_METADATA event. Enabled in this sense implies that there is a next track to proceed to should the command be sent (see the mediacontroller_next_track() function for more details).

Returns:

The boolean value representing the next 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