Set the position in a metadata structure.
#include <bps/mediaplayer.h>
BPS_API int mediaplayer_metadata_set_position(mediaplayer_metadata_t *metadata,
int position)
BlackBerry 10.0.0
The mediaplayer_metadata_t structure to update.
The position. Use a negative number to leave position unspecified.
The mediaplayer_metadata_set_position() function sets the position in the given metadata structure.
BPS_SUCCESS when the function completes successfully, BPS_FAILURE with errno value set otherwise.