Merge "Providing bluetooth usage data for battery monitor framework" into tizen
[platform/core/connectivity/bluetooth-frwk.git] / include / bluetooth-media-control.h
old mode 100644 (file)
new mode 100755 (executable)
index 42faf8e..fee7914
@@ -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
  *