* @param[in] server_name The app_id of the media controller server which sent the notification.
* @param[in] mode The playlist update mode of the updated media controller server
* @param[in] playlist_name Updated playlist name.
- * @param[in] playlist The handle to the media controller playlist.
+ * @param[in] playlist The handle of the media controller playlist.
* @param[in] user_data The user data passed from the mc_client_set_playlist_updated_cb() function
*
* @pre mc_client_set_playlist_updated_cb()
*
* @see mc_client_set_playlist_updated_cb()
- * @see mc_client_foreach_server_playlist()
+ * @see mc_playlist_foreach_playlist()
*/
typedef void (*mc_playlist_updated_cb)(const char *server_name, mc_playlist_update_mode_e mode, const char *playlist_name, mc_playlist_h playlist, void *user_data);
*
* @remarks The @a client should be released using @c mc_client_destroy(). You can create only one client handle for each process.
*
- * @param[out] client The handle to the media controller client
+ * @param[out] client The handle of the media controller client
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @see mc_client_destroy()
*/
int mc_client_create(mc_client_h *client);
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] callback The callback to be invoked when the media controller server status is changed
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] callback The callback to be invoked when the playback status is changed
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] callback The callback to be invoked when the metadata status is changed
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] callback The callback to be invoked when the shuffle mode is changed
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] callback The callback to be invoked when the repeat mode is changed
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] callback The callback to be invoked when the ability is changed
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] callback The callback to be invoked when the ability is changed
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] callback The callback to be invoked when the ability is changed
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] callback The callback to be invoked when the reply is received
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_unset_cmd_reply_received_cb()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_set_cmd_reply_received_cb()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] callback The callback to be invoked when the playlist status is changed
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_client_create()
* @see mc_client_custom_event_received_cb()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_client_create()
* @see mc_client_custom_event_received_cb()
* If @a request_id is not null there, the media controller client should send the reply to the media controller server with the @a request_id. \n
* If @a request_id is null, this function will return #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER.
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] server_name The app_id of the media controller server
* @param[in] request_id The id of the event request, received in the mc_client_set_custom_event_received_cb() function.
* @param[in] result_code The result code of custom event
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_client_create()
* @see mc_client_set_custom_event_received_cb()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] subscription_type The subscription type
* @param[in] server_name The app_id of the media controller server
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create()
* @pre Set the callback for monitoring status of the media controller server
* @post Unsubscribe the media controller server for monitoring status by calling mc_client_unsubscribe()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] subscription_type The subscription type
* @param[in] server_name The app_id of the media controller server
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
- * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
+ *
* @pre Create a media controller client handle by calling mc_client_create()
* @pre Subscribe the media controller server for monitoring status by calling mc_client_subscribe()
* @see mc_client_create()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] subscription_type The subscription type
* @param[in] callback The callback to be invoked when the list of the subscribed media controller server.
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create()
* @pre Subscribe the media controller server for monitoring status by calling mc_client_subscribe()
* @see mc_client_create()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
- * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ *
* @pre The playback update callback should be set with mc_client_set_playback_updated_cb().
* @see mc_client_set_playback_updated_cb()
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
- * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ *
* @pre The playback update callback should be set with mc_client_set_playback_updated_cb().
* @see mc_client_set_playback_updated_cb()
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
*
* @pre The playback update callback should be set with mc_client_set_playback_updated_cb().
* @see mc_client_set_playback_updated_cb()
- * @see mc_client_foreach_server_playlist()
+ * @see mc_playlist_foreach_playlist()
*/
int mc_client_get_playlist_item_index(mc_playback_h playback, char **index) TIZEN_DEPRECATED_API;
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
* @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
*
* @pre The playback update callback should be set with mc_client_set_playback_updated_cb().
* @see mc_client_set_playback_updated_cb()
- * @see mc_client_foreach_server_playlist()
+ * @see mc_playlist_foreach_playlist()
*/
int mc_client_get_playlist_item_info(mc_playback_h playback, char **playlist_name, char **index);
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
- * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
+ *
* @pre The playback update callback should be set with mc_client_set_playback_updated_cb().
* @see mc_client_set_playback_updated_cb()
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
- * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
+ *
* @pre The playback update callback should be set with mc_client_set_playback_updated_cb().
* @see mc_client_set_playback_updated_cb()
*/
* After a media controller server sets the playback state to #MC_PLAYBACK_STATE_PLAYING, the @a server_state is #MC_SERVER_STATE_ACTIVATE.
* After a media controller server is destroyed, @a server_state is #MC_SERVER_STATE_DEACTIVATE.
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[out] server_name The app_id of the latest media controller server
* @param[out] server_state The state of the latest media controller server
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
*/
int mc_client_get_latest_server_info(mc_client_h client, char **server_name, mc_server_state_e *server_state);
* @remarks The @a playback should be released using @c mc_client_destroy_playback(). \n
* If there is no playback info, return value of the playback is NULL.
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] server_name The app_id of the media controller server
* @param[out] playback The handle to playback
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
*/
int mc_client_get_server_playback_info(mc_client_h client, const char *server_name, mc_playback_h *playback);
* @remarks The @a metadata should be released using @c mc_metadata_destroy(). \n
* If there is no metadata, return value of the metadata is NULL.
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] server_name The app_id of the media controller server
* @param[out] metadata The handle to metadata
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
*/
int mc_client_get_server_metadata(mc_client_h client, const char *server_name, mc_metadata_h *metadata);
*
* @remarks If there is no shuffle mode info, return value is #MC_SHUFFLE_MODE_OFF.
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] server_name The app_id of the media controller server
* @param[out] mode The info of the latest shuffle mode
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
- * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
*/
int mc_client_get_server_shuffle_mode(mc_client_h client, const char *server_name, mc_shuffle_mode_e *mode);
*
* @remarks If there is no repeat mode info, return value is #MC_REPEAT_MODE_OFF.
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] server_name The app_id of the media controller server
* @param[out] mode The info of the latest shuffle mode
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
- * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
*/
int mc_client_get_server_repeat_mode(mc_client_h client, const char *server_name, mc_repeat_mode_e *mode);
* @remarks The @a uri should be released using @c free(). \n
* If there is no URI info, return value of the uri is NULL.
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] server_name The app_id of the media controller server
* @param[out] uri The icon URI
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
* @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_destroy()
- * @see mc_client_foreach_server_playlist()
+ * @see mc_playlist_foreach_playlist()
*/
int mc_client_get_server_icon(mc_client_h client, const char *server_name, char **uri);
*
* @remarks The @a ability should be released using @c mc_playback_ability_destroy().
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] server_name The app_id of the media controller server
* @param[out] ability The handle to ability
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @pre Get a server name handle by calling mc_client_create().
* @see mc_client_create()
*
* @remarks If the ability's support is not set, the result value is #MC_ABILITY_SUPPORTED_UNDECIDED.
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] server_name The app_id of the media controller server
* @param[out] support The support value of the shuffle ability
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
* @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @pre Get a server name handle by calling mc_client_create().
* @see mc_client_create()
*
* @remarks If the ability's support is not set, the result value is #MC_ABILITY_SUPPORTED_UNDECIDED.
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] server_name The app_id of the media controller server
* @param[out] support The support value of the repeat ability
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
* @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @pre Get a server name handle by calling mc_client_create().
* @see mc_client_create()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] callback The callback function to be invoked, will be called for each server
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
*/
int mc_client_foreach_server(mc_client_h client, mc_activated_server_cb callback, void *user_data);
/**
+ * @deprecated Deprecated since 5.5. Use mc_playlist_foreach_playlist() instead.
* @brief Retrieves all playlists of the media controller server.
* @details This function gets all playlists of the media controller server.
* The callback function will be invoked for every retrieved playlist.
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] server_name The app_id of the media controller server
* @param[in] callback The callback function to be invoked.
* @param[in] user_data The user data to be passed to the callback function
* otherwise a negative error value
*
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
*
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_playlist_cb()
*/
-int mc_client_foreach_server_playlist(mc_client_h client, const char *server_name, mc_playlist_cb callback, void *user_data);
+int mc_client_foreach_server_playlist(mc_client_h client, const char *server_name, mc_playlist_cb callback, void *user_data) TIZEN_DEPRECATED_API;
/**
* @brief Sends the playback action command to server.
* @remarks The @a request_id should be released using free().\n
* If the @a request_id is null, the server will not send the reply of the command.
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] server_name The app_id of the media controller server
* @param[in] action The playback action command to send to the media controller server
* @param[out] request_id The id of the command request, it will be passed to the mc_cmd_reply_received_cb() function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_get_server_playback_info()
* @remarks The @a request_id should be released using free().\n
* If the @a request_id is null, the server will not send the reply of the command.
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] server_name The app_id of the media controller server
* @param[in] position The position of the playback in milliseconds to send to media controller server.
* @param[out] request_id The id of the command request, it will be passed to the mc_cmd_reply_received_cb() function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_get_server_playback_info()
* @remarks The @a request_id should be released using free().\n
* If the @a request_id is null, the server will not send the reply of the command.
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] server_name The app_id of the media controller server
* @param[in] shuffle_mode The shuffle mode to send to media controller server
* @param[out] request_id The id of the command request, it will be passed to the mc_cmd_reply_received_cb() function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_get_server_playback_info()
* @remarks The @a request_id should be released using free().\n
* If the @a request_id is null, the server will not send the reply of the command.
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] server_name The app_id of the media controller server
* @param[in] repeat_mode The repeat mode to send to media controller server
* @param[out] request_id The id of the command request, it will be passed to the mc_cmd_reply_received_cb() function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_get_server_playback_info()
* @remarks The @a request_id should be released using free().\n
* If the @a request_id is null, the server will not send the reply of the command.
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] server_name The app_id of the media controller server
* @param[in] playlist_name The playlist name of the server
* @param[in] index The index of the media in playlist to send to the media controller server
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_set_cmd_reply_received_cb()
* @remarks The @a request_id should be released using free().\n
* If the @a request_id is null, the server will not send the reply of the command.
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] server_name The app_id of the media controller server
* @param[in] command The command to be sent
* @param[in] data The extra data
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
- * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
* @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
* @see mc_client_set_cmd_reply_received_cb()
* @remarks The @a request_id should be released using free().\n
* If the @a request_id is null, the server will not send the reply of the command.
*
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @param[in] server_name The app_id of the media controller server
* @param[in] search The search handle to be sent
* @param[out] request_id The id of the command request, it will be passed to the mc_cmd_reply_received_cb() function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
- * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
* @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @pre Create search handle and set data by calling mc_search_create() and mc_search_set_condition().
* @see mc_client_create()
/**
* @brief Destroys client.
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
- * @param[in] client The handle to the media controller client
+ * @param[in] client The handle of the media controller client
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_client_create()
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @see mc_server_destroy()
*/
int mc_server_create(mc_server_h *server);
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
* @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
*
* @pre Create a media controller server handle by calling mc_server_create().
* @post Apply the updated playback information by calling mc_server_update_playback_info().
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
* @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
*
* @pre Create a media controller server handle by calling mc_server_create().
* @post Apply the updated playback information by calling mc_server_update_playback_info().
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
* @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
*
* @pre Create a media controller server handle by calling mc_server_create().
* @post Apply the updated playback information by calling mc_server_update_playback_info().
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
* @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
*
* @pre Create a media controller server handle by calling mc_server_create().
* @post Apply the updated playback information by calling mc_server_update_playback_info().
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
* @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @post Apply the updated playback information by calling mc_server_update_playback_info().
* @see mc_server_create()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
* @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @post Apply the updated age rating information by calling mc_server_update_playback_info().
* @see mc_server_create()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
* @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @post Apply the updated metadata information by calling mc_server_update_metadata().
* @see mc_server_create()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_playback_action_cmd_received_cb()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_activated_client_cb()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
* @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_event_reply_received_cb()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
*
- * @param[in] server The handle to the media controller server
+ * @param[in] server The handle of the media controller server
* @param[in] callback The callback to be invoked when the reply is received
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @pre mc_server_send_custom_event().
* @see mc_server_create()
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
*
- * @param[in] server The handle to the media controller server
+ * @param[in] server The handle of the media controller server
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller client handle by calling mc_client_create().
* @see mc_server_create()
* @see mc_server_set_event_reply_received_cb()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
*
* @param[in] server The handle to media controller server
* @param[in] playlist_name The name of the created playlist. It should not be NULL.
- * @param[out] playlist The handle to the media controller playlist
+ * @param[out] playlist The handle of the media controller playlist
*
* @return @c 0 on success,
* otherwise a negative error value
*
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
*
* @pre Create a media controller server handle by calling mc_server_create().
* @post You can call mc_server_add_item_to_playlist() if you have items to add in the playlist and should call @c mc_server_update_playlist_done() to register it.
* If you have more items, register the first 100 items by calling mc_server_update_playlist_done(), then add the remaining items.
*
* @param[in] server The handle to media controller server
- * @param[in] playlist The handle to the media controller playlist
+ * @param[in] playlist The handle of the media controller playlist
* @param[in] index The index of the playlist item. It should not be NULL
* @param[in] attribute The key attribute name to set
* @param[in] value The value of the attribute
* otherwise a negative error value
*
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
* @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
*
* @pre Create a media controller server handle by calling mc_server_create().
* @pre Create a media controller playlist handle by calling mc_server_create_playlist().
* @privilege %http://tizen.org/privilege/mediacontroller.server
*
* @param[in] server The handle to media controller server
- * @param[in] playlist The handle to the media controller playlist
+ * @param[in] playlist The handle of the media controller playlist
*
* @return @c 0 on success,
* otherwise a negative error value
*
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
*
* @pre Create a media controller server handle by calling mc_server_create().
* @pre Create a media controller playlist handle by calling mc_server_create_playlist().
* @privilege %http://tizen.org/privilege/mediacontroller.server
*
* @param[in] server The handle to media controller server
- * @param[in] playlist The handle to the media controller playlist
+ * @param[in] playlist The handle of the media controller playlist
*
* @return @c 0 on success,
* otherwise a negative error value
*
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
*
* @pre Create a media controller server handle by calling mc_server_create().
* @pre Create a media controller playlist handle by calling mc_server_create_playlist().
int mc_server_delete_playlist(mc_server_h server, mc_playlist_h playlist);
/**
+ * @deprecated Deprecated since 5.5. Use mc_playlist_foreach_playlist() instead.
* @brief Retrieves all playlists of the media controller server.
* @details This function gets all playlists of the media controller server.
* The callback function will be invoked for every retrieved playlist.
* otherwise a negative error value
*
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
*
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @see mc_playlist_cb()
*/
-int mc_server_foreach_playlist(mc_server_h server, mc_playlist_cb callback, void *user_data);
+int mc_server_foreach_playlist(mc_server_h server, mc_playlist_cb callback, void *user_data) TIZEN_DEPRECATED_API;
/**
* @brief Sets the playback ability's support of the media controller.
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @post Update abilities of a media controller server by calling mc_server_update_playback_ability().
* @see mc_server_create()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @pre Set abilities of a media controller server by calling mc_server_set_playback_ability().
* @see mc_server_create()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
* @retval #MEDIA_CONTROLLER_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY Out of memory
+ *
* @pre Create a media controller server handle by calling mc_server_create().
* @see mc_server_create()
* @see mc_server_destroy()