X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fbluetooth-media-control.h;h=fee791438f9f56d918ea5626e45a5d7667891472;hb=3be84e98521cf47e5241940c00db9d4ef13b3a09;hp=42faf8ee28e2d3d4938a0155193adb5d4629b653;hpb=aaa9a90f3cba071f404e66bb633f085686e5cbf1;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git diff --git a/include/bluetooth-media-control.h b/include/bluetooth-media-control.h old mode 100644 new mode 100755 index 42faf8e..fee7914 --- a/include/bluetooth-media-control.h +++ b/include/bluetooth-media-control.h @@ -91,7 +91,9 @@ typedef enum { PRESS_FAST_FORWARD, RELEASE_FAST_FORWARD, PRESS_REWIND, - RELEASE_REWIND + RELEASE_REWIND, + VOLUME_UP, + VOLUME_DOWN } media_player_control_cmd; typedef struct { @@ -301,6 +303,18 @@ int bluetooth_media_target_disconnect(bluetooth_device_address_t *remote_address int bluetooth_media_control_command(media_player_control_cmd type); /** + * @brief The function bluetooth_media_control_command_to_dest is called to send + * the AVRCP Control command like Play, Pause, FF, Rewind to the specific target device. + * + * @param[in] type media_player_control_cmd. + * @param[in] remote_address Bluetooth device address. + * @return int Zero on Success or reason for error if any. + * + */ +int bluetooth_media_control_command_to_dest(media_player_control_cmd type, + bluetooth_device_address_t *remote_address); + +/** * @fn int bluetooth_media_control_set_property(media_player_property_type type, unsigned int value) * @brief Notifies the remote bluetooth target with change in music control settings *