/**
* @brief Called when the status of the media controller server is updated.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @remarks The callback is called in the dbus event loop.\n
* The @a server_name should not be released by the application.\n
/**
* @brief Called when the playback information of the media controller server is updated.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @remarks The callback is called in the dbus event loop.\n
* The @a server_name and @a playback should not be released by the application. \n
/**
* @brief Called when the metadata of the media controller server is updated.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @remarks The callback is called in the dbus event loop.\n
* The @a server_name and @a metadata should not be released by the application. \n
/**
* @brief Called when the shuffle mode of the media controller server is updated.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The callback is called in the dbus event loop.\n
* The @a server_name should not be released by the application. \n
/**
* @brief Called when the repeat mode of the media controller server is updated.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The callback is called in the dbus event loop.\n
* The @a server_name should not be released by the application. \n
/**
* @brief Called when requesting the list of created servers.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @remarks The callback is called in the main loop.\n
* The @a server_name should not be released by the application. \n
/**
* @brief Called when the result of the command from the server is received.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The callback is called in the dbus event loop.\n @a data should be released using bundle_free().\n
* The @a server_name and @a request_id should not be released by the application. \n
/**
* @brief Called when requesting the list of subscribed servers.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @remarks The callback is called in the dbus event loop.\n
* The @a server_name should not be released by the application. \n
/**
* @brief Called when the playlist of the media controller server is updated.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The callback is called in the dbus event loop.\n
* The @a server_name, @a playlist_name and @a playlist should not be released by the application. \n
/**
* @brief Called when receiving custom event of media controller servers.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The callback is called in the dbus event loop.\n The @a data should be released using bundle_free(). \n
* The @a server_name, @a request_id and @a event should not be released by the application. \n
/**
* @brief Creates a media controller client.
* @details The media controller client binds the latest media controller server when handlers are created.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Sets the callback for monitoring status of the media controller server.
* @details The media controller client which calls this function will receive notifications from all media controller servers.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Unsets the callback for monitoring status of the media controller server.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Sets the callback for monitoring playback status of the media controller server.
* @details The media controller client which calls this function will receive notifications from all media controller servers.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Unsets the callback for monitoring playback status of the media controller server.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Sets the callback for monitoring metadata status of the media controller server.
* @details The media controller client which calls this function will receive notifications from all media controller servers.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Unsets the callback for monitoring metadata status of the media controller server.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Sets the callback for monitoring shuffle mode of the media controller server.
* @details The media controller client which calls this function will receive notifications from all media controller servers.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Unsets the callback for monitoring shuffle mode of the media controller server.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Sets the callback for monitoring repeat mode of the media controller server.
* @details The media controller client which calls this function will receive notifications from all media controller servers.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Unsets the callback for monitoring repeat mode of the media controller server.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Sets the callback for receiving the result of the command from the media controller server.
* @details The media controller client which calls this function will receives the result of the command from all media controller servers.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Unsets the callback for receiving common reply of the media controller server.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Sets the callback for monitoring playlist status of the media controller server.
* @details The media controller client which calls this function will receive notifications from all media controller servers.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Unsets the callback for monitoring playlist status of the media controller server.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Sets the callback for receiving the custom event from a media controller server.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Unsets the callback for receiving the custom event from a media controller server.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Replies with the result of the requested event to the media controller server.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
* the media controller client can receive callback from only subscribed media controller server. \n
* If you want to subscribe for the all media controller server again,
* unset mode update callback and set the callback for the monitoring status again.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
* If media controller client unsubscribe all subscribed media controller server,
* the media controller client don't receive callback from all media controller server. \n
* After unset and set update callback function is called again, the media controller client can receive callback from all media controller servers.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Retrieves all subscribed Server.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Gets the playback state.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Gets the playback position.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
* @deprecated Deprecated since 5.0. Use mc_client_get_playlist_item_info() instead.
* @brief Gets the index of the media in playlist.
* @details Gets the index of the current playing media in a playlist. If the media controller server didn't set the index, the value is NULL.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Destroys playback.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @param[in] playback The handle to playback
* @return @c 0 on success,
* @brief Gets the latest media controller server info.
* @details The media controller client will get the most recently updated information by the server.
*
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Gets the latest playback info.
* @details The media controller client will get the most recently updated information from @a server_name.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Gets the latest metadata.
* @details The media controller client will get the most recently updated information from @a server_name.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Gets the latest shuffle mode.
* @details The media controller client will get the most recently updated information from @a server_name.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Gets the latest repeat mode.
* @details The media controller client will get the most recently updated information from @a server_name.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
* @details This function gets all created media controller servers.
* The callback function will be invoked for every created media controller server.
* If there are no media controller servers, the callback will not be invoked.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
* @details This function gets all playlists of the media controller server.
* The callback function will be invoked for every retrieved playlist.
* If there are no playlists, the callback will not be invoked.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Sends the playback action command to server.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Sends the playback position command to server.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Sends the shuffle mode command to server.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Sends the repeat mode command to server.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Sends the playlist command to server.
* @details The media controller client can send "index" of the playlist to the media controller server with playback action and position.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Sends the custom command to server.
* @details If the server sends the result of the command, the media controller client will get the result of the custom command by mc_cmd_reply_received_cb() callback.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.client
/**
* @brief Destroys client.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
* @param[in] client The handle of the media controller client
* @return @c 0 on success,
* otherwise a negative error value
* @details This function copies the metadata handle from one to another.
* The #mc_metadata_h is created internally and therefore available through the functions of media controller metadata.
*
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The @a dst should be released using @c mc_metadata_destroy().
*
* handle no longer can be used to perform any operations. A new handle has to
* be created before next usage.
*
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @param[in] metadata The handle of the media controller metadata
*
/**
* @brief Gets the metadata.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The @a value should be released using free(). \n
* If the attribute value of the metadata is empty, return value is NULL.
/**
* @brief Called for every playlist.
*
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The @a playlist should not be released by the application. \n
* To use the @a playlist outside this function, copy the handle with the mc_playlist_clone() function. \n
/**
* @brief Called for every playlist item in the playlist.
*
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The @a index and @a metadata should not be released by the application. \n
* The @a index can be used only in the callback. To use outside, make a copy.
/**
* @brief Gets the name of the playlist.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The @a playlist_name should be released using free().
*
* @details This function iterates through all items in the playlist.
* The callback function will be invoked for every retrieved playlist item.
* If there are no items on the playlist, the callback will not be invoked.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @param[in] playlist The handle of the media controller playlist
* @param[in] callback The callback function to be invoked
* @details This function copies the media controller playlist handle from a source to
* destination. The #mc_playlist_h is created internally and available through media controller playlist functions.
*
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The @a dst should be released using mc_playlist_destroy().
*
* handle no longer can be used to perform any operations. A new handle has to
* be created before next usage.
*
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @param[in] playlist The handle of the media controller playlist
*
/**
* @ingroup CAPI_MEDIA_CONTROLLER_MODULE
* @brief DBus path for media controller.
-* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+* @since_tizen 2.4
*/
#define MC_DBUS_PATH "/org/tizen/mediacontroller/dbus/notify"
/**
* @ingroup CAPI_MEDIA_CONTROLLER_MODULE
* @brief DBus interface to update from server to client.
-* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+* @since_tizen 2.4
*/
#define MC_DBUS_UPDATE_INTERFACE "org.tizen.mediacontroller.update"
/**
* @ingroup CAPI_MEDIA_CONTROLLER_MODULE
* @brief DBus interface prefix name.
-* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+* @since_tizen 2.4
*/
#define MC_DBUS_INTERFACE_PREFIX "org.tizen"
/**
* @ingroup CAPI_MEDIA_CONTROLLER_MODULE
* @brief DBus interface type name.
-* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+* @since_tizen 2.4
*/
#define MC_CLIENT "mcclient"
#define MC_SERVER "mcserver"
/**
* @brief Called when the server receives the playback action command from the client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The callback is called in the dbus event loop.\n
* If @a request_id is not null, the server should send the reply to the client with the @a request_id. \n
/**
* @brief Called when the server receives the playback position from the client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The callback is called in the dbus event loop.\n
* If @a request_id is not null, the server should send the reply to the client with the @a request_id.\n
/**
* @brief Called when the server receives the shuffle mode from the client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The callback is called in the dbus event loop.\n
* If @a request_id is not null, the server should send the reply to the client with the @a request_id.\n
/**
* @brief Called when the server receives the repeat mode from the client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The callback is called in the dbus event loop.\n
* If @a request_id is not null, the server should send the reply to the client with the @a request_id.\n
/**
* @brief Called when the Server receives playlist command from the client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The callback is called in the dbus event loop. \n
* If @a request_id is not null, the server should send the reply to the client with the @a request_id.\n
* @brief Called when the Server receives custom command from the client.
* @details This callback is called when server receives custom command from client.
* If you want to reply to the command, call mc_server_send_cmd_reply() function.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The callback is called in the dbus event loop. @a data should be released using bundle_free().\n
* If @a request_id is not null, the server should send the reply to the client with the @a request_id.\n
/**
* @brief Called when requesting the list of created clients.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The callback is called in the main loop. \n
* The @a client_name should not be released by the application. \n
/**
* @brief Called when the result of the event from the client is received.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks The callback is called in the dbus event loop. @a data should be released using bundle_free(). \n
* The @a client_name and @a request_id should not be released by the application. \n
/**
* @brief Creates a media controller server.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Sets the playback state to update the latest state info.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Sets the playback position to update the latest playback info.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
* @details If a media controller server has a playlist, the server can register and share it with media controller client.
* A playlist is a set of "index" and "media metadata".\n
* The media controller server can let media controller clients know the index of current playing media by using this function.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Updates the modified playback info.
* @details If this function is called, the updated playback information will be sent to the controller.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Sets the metadata to update the latest metadata info.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Updates the modified metadata info.
* @details If this function is called, the updated metadata will be sent to all clients.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Updates the modified shuffle mode.
* @details If this function is called, the updated mode information will be sent to all clients.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Updates the modified repeat mode.
* @details If this function is called, the updated mode information will be sent to all clients.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Sets the callback for receiving playback action command from client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Unsets the callback for receiving playback action command from client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Sets the callback for receiving playback position command from client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Unsets the callback for receiving playback position command from client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Sets the callback for receiving shuffle mode command from client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Unsets the callback for receiving shuffle mode command from client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Sets the callback for receiving repeat mode command from client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Unsets the callback for receiving repeat mode command from client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Sets the callback for receiving playlist command from client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Unsets the callback for receiving playlist command from client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Sets the callback for receiving custom command from client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Unsets the callback for receiving custom command from client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @remarks It is recommended to set the corresponding ability's support using mc_server_set_ability_support(). It will let the client know about the server's abilities and what commands the client can send.
*
/**
* @brief Replies the result of the requested command to the client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
* @details This function gets all created media controller clients.
* The callback function will be invoked for every created media controller client.
* If there are no media controller clients, the callback will not be invoked.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Sends the customized event with the bundle data.
* @details If the event is needed in the client, this function should be called. @a data is a bundle.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
* @brief Sets the callback for receiving the result of the event from the media controller client.
* @details The media controller server which calls this function will receive the result of the event from all media controller clients.\n
* The media controller server can send event by using mc_server_send_custom_event().
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Unsets the callback for receiving event reply of the media controller client.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Destroys media controller server.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @remarks After the server is destroyed, all its abilities will be initialized to the default automatically.
*
/**
* @brief Creates a new playlist with the given name.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Adds a new item to the playlist.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Registers items to the playlist.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief Deletes the playlist of the media controller server.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
* @details This function gets all playlists of the media controller server.
* The callback function will be invoked for every retrieved playlist.
* If there are no playlists, callback will not be invoked.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediacontroller.server
/**
* @brief The structure type for the media server handle.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*/
typedef void *mc_server_h;
/**
* @brief The structure type for the media client handle.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*/
typedef void *mc_client_h;
/**
* @brief The structure type for the media controller playback handle.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*/
typedef void *mc_playback_h;
/**
* @brief The structure type for the media controller metadata handle.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*/
typedef void *mc_metadata_h;
/**
* @brief The structure type for the media controller playlist handle.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*/
typedef void *mc_playlist_h;
/**
* @brief Enumeration for the media controller error.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*/
typedef enum {
MEDIA_CONTROLLER_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
/**
* @brief Enumeration for the media controller server state.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*/
typedef enum {
MC_SERVER_STATE_NONE = 0, /**< None state*/
/**
* @brief Enumeration for the media meta info.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*/
typedef enum {
MC_META_MEDIA_TITLE = 0, /**< Title */
/**
* @brief Enumeration for the media playback state.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*/
typedef enum {
MC_PLAYBACK_STATE_NONE = 0, /**< None */
MC_PLAYBACK_STATE_PLAYING, /**< Playing */
MC_PLAYBACK_STATE_PAUSED, /**< Paused */
MC_PLAYBACK_STATE_STOPPED, /**< Stopped */
- MC_PLAYBACK_STATE_MOVING_TO_NEXT = 8, /**< Moving to the next item (Since @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif) */
- MC_PLAYBACK_STATE_MOVING_TO_PREVIOUS, /**< Moving to the previous item (Since @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif) */
- MC_PLAYBACK_STATE_FAST_FORWARDING, /**< Fast forwarding (Since @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif) */
- MC_PLAYBACK_STATE_REWINDING, /**< Rewinding (Since @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif) */
+ MC_PLAYBACK_STATE_MOVING_TO_NEXT = 8, /**< Moving to the next item (Since 4.0) */
+ MC_PLAYBACK_STATE_MOVING_TO_PREVIOUS, /**< Moving to the previous item (Since 4.0) */
+ MC_PLAYBACK_STATE_FAST_FORWARDING, /**< Fast forwarding (Since 4.0) */
+ MC_PLAYBACK_STATE_REWINDING, /**< Rewinding (Since 4.0) */
MC_PLAYBACK_STATE_CONNECTING, /**< Connecting (Since 6.0) */
MC_PLAYBACK_STATE_BUFFERING, /**< Buffering (Since 6.0) */
MC_PLAYBACK_STATE_ERROR, /**< Error (Since 6.0) */
/**
* @brief Enumeration for the media playback action.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*/
typedef enum {
MC_PLAYBACK_ACTION_PLAY, /**< Play */
/**
* @brief Enumeration for the shuffle mode.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*/
typedef enum {
MC_SHUFFLE_MODE_ON = 0, /**< Shuffle mode on */
/**
* @brief Enumeration for the repeat mode.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*/
typedef enum {
MC_REPEAT_MODE_ON = 0, /**< Repeat mode on for all media*/
MC_REPEAT_MODE_OFF, /**< Repeat mode off */
- MC_REPEAT_MODE_ONE_MEDIA, /**< Repeat mode on for one media (Since @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif) */
+ MC_REPEAT_MODE_ONE_MEDIA, /**< Repeat mode on for one media (Since 4.0) */
} mc_repeat_mode_e;
/**
* @brief Enumeration for the subscription type.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*/
typedef enum {
MC_SUBSCRIPTION_TYPE_SERVER_STATE = 0, /**< Server state */
MC_SUBSCRIPTION_TYPE_METADATA, /**< Metadata */
MC_SUBSCRIPTION_TYPE_SHUFFLE_MODE, /**< Shuffle mode */
MC_SUBSCRIPTION_TYPE_REPEAT_MODE, /**< Repeat mode */
- MC_SUBSCRIPTION_TYPE_PLAYLIST, /**< Playlist (Since @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif) */
+ MC_SUBSCRIPTION_TYPE_PLAYLIST, /**< Playlist (Since 4.0) */
MC_SUBSCRIPTION_TYPE_PLAYBACK_ABILITY, /**< Playback ability (Since 5.0) */
MC_SUBSCRIPTION_TYPE_SHUFFLE_ABILITY, /**< Shuffle ability (Since 5.0) (Deprecated since 5.5. Use #MC_SUBSCRIPTION_TYPE_ABILITY_SUPPORT instead)*/
MC_SUBSCRIPTION_TYPE_REPEAT_ABILITY, /**< Repeat ability (Since 5.0) (Deprecated since 5.5. Use #MC_SUBSCRIPTION_TYPE_ABILITY_SUPPORT instead)*/
/**
* @brief Enumeration for the playlist update mode.
- * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif
+ * @since_tizen 4.0
*/
typedef enum {
MC_PLAYLIST_UPDATED, /**< Create or Update playlist */