int mc_client_get_server_playback_ability(mc_client_h client, const char *server_name, mc_playback_ability_h *ability);
/**
- * @deprecated Deprecated since 5.5. Use mc_client_get_ability_support() instead.
+ * @deprecated Deprecated since 5.5. Use mc_client_get_server_ability_support() instead.
* @brief Gets the support value of the shuffle ability of the updated media controller server.
* @since_tizen 5.0
*
int mc_client_get_server_shuffle_ability_support(mc_client_h client, const char *server_name, mc_ability_support_e *support) TIZEN_DEPRECATED_API;
/**
- * @deprecated Deprecated since 5.5. Use mc_client_get_ability_support() instead.
+ * @deprecated Deprecated since 5.5. Use mc_client_get_server_ability_support() instead.
* @brief Gets the support value of the repeat ability of the updated media controller server.
* @since_tizen 5.0
*
* @see mc_client_get_latest_server_info()
* @see mc_client_foreach_server()
*/
-int mc_client_get_ability_support(mc_client_h client, const char *server_name, mc_ability_e ability, mc_ability_support_e *support);
+int mc_client_get_server_ability_support(mc_client_h client, const char *server_name, mc_ability_e ability, mc_ability_support_e *support);
/**
* @brief Retrieves all created servers.
int mc_client_get_server_shuffle_ability_support(mc_client_h client, const char *server_name, mc_ability_support_e *support)
{
- mc_warning("DEPRECATION WARNING: mc_client_get_server_shuffle_ability_support() is removed from 5.5. Use mc_client_get_ability_support() instead.");
+ mc_warning("DEPRECATION WARNING: mc_client_get_server_shuffle_ability_support() is removed from 5.5. Use mc_client_get_server_ability_support() instead.");
return __mc_client_get_server_ability(client, server_name, MC_ABILITY_SHUFFLE, support);
}
int mc_client_get_server_repeat_ability_support(mc_client_h client, const char *server_name, mc_ability_support_e *support)
{
- mc_warning("DEPRECATION WARNING: mc_client_get_server_repeat_ability_support() is removed from 5.5. Use mc_client_get_ability_support() instead.");
+ mc_warning("DEPRECATION WARNING: mc_client_get_server_repeat_ability_support() is removed from 5.5. Use mc_client_get_server_ability_support() instead.");
return __mc_client_get_server_ability(client, server_name, MC_ABILITY_REPEAT, support);
}
-int mc_client_get_ability_support(mc_client_h client, const char *server_name, mc_ability_e ability, mc_ability_support_e *support)
+int mc_client_get_server_ability_support(mc_client_h client, const char *server_name, mc_ability_e ability, mc_ability_support_e *support)
{
return __mc_client_get_server_ability(client, server_name, ability, support);
}
ret = mc_playback_ability_destroy(ability);
mc_retvm_if(ret != MEDIA_CONTROLLER_ERROR_NONE, FALSE, "Fail to mc_playback_ability_destroy [%d]", ret);
- ret = mc_client_get_ability_support(g_mc_client, g_server_name, MC_ABILITY_SHUFFLE, &support);
+ ret = mc_client_get_server_ability_support(g_mc_client, g_server_name, MC_ABILITY_SHUFFLE, &support);
mc_retvm_if(ret != MEDIA_CONTROLLER_ERROR_NONE, FALSE, "Fail to get shuffle ability [%d]", ret);
g_print("shuffle_ability: %d \n", support);
- ret = mc_client_get_ability_support(g_mc_client, g_server_name, MC_ABILITY_REPEAT, &support);
+ ret = mc_client_get_server_ability_support(g_mc_client, g_server_name, MC_ABILITY_REPEAT, &support);
mc_retvm_if(ret != MEDIA_CONTROLLER_ERROR_NONE, FALSE, "Fail to get repeat ability [%d]", ret);
g_print("repeat_ability: %d \n", support);
- ret = mc_client_get_ability_support(g_mc_client, g_server_name, MC_ABILITY_PLAYBACK_POSITION, &support);
+ ret = mc_client_get_server_ability_support(g_mc_client, g_server_name, MC_ABILITY_PLAYBACK_POSITION, &support);
mc_retvm_if(ret != MEDIA_CONTROLLER_ERROR_NONE, FALSE, "Fail to get playback position ability [%d]", ret);
g_print("position_ability: %d \n", support);
- ret = mc_client_get_ability_support(g_mc_client, g_server_name, MC_ABILITY_PLAYLIST, &support);
+ ret = mc_client_get_server_ability_support(g_mc_client, g_server_name, MC_ABILITY_PLAYLIST, &support);
mc_retvm_if(ret != MEDIA_CONTROLLER_ERROR_NONE, FALSE, "Fail to get playlist ability [%d]", ret);
g_print("playlist_ability: %d \n", support);
- ret = mc_client_get_ability_support(g_mc_client, g_server_name, MC_ABILITY_CLIENT_CUSTOM, &support);
+ ret = mc_client_get_server_ability_support(g_mc_client, g_server_name, MC_ABILITY_CLIENT_CUSTOM, &support);
mc_retvm_if(ret != MEDIA_CONTROLLER_ERROR_NONE, FALSE, "Fail to get client custom ability [%d]", ret);
g_print("custom_ability: %d \n", support);
- ret = mc_client_get_ability_support(g_mc_client, g_server_name, MC_ABILITY_SEARCH, &support);
+ ret = mc_client_get_server_ability_support(g_mc_client, g_server_name, MC_ABILITY_SEARCH, &support);
mc_retvm_if(ret != MEDIA_CONTROLLER_ERROR_NONE, FALSE, "Fail to get search ability [%d]", ret);
g_print("search_ability: %d \n", support);