mediacontroller_volume_set_level()

Set the volume level.

Synopsis:

#include <bps/mediacontroller.h>
 
BPS_API int mediacontroller_volume_set_level(float level)

Since:

BlackBerry 10.0.0

Arguments:

level

The level to set the volume to. You specify the level as a percentage value, such as 50 or 75.

Library:

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

Description:

The mediacontroller_volume_set_level() function sets the volume to the given level.

Returns:

BPS_SUCCESS when the function completes successfully, BPS_FAILURE with errno value set otherwise.

Last modified: 2014-05-14



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

comments powered by Disqus