+ debug_error("Could not set focus watch callback, ret[0x%x]", ret);
+ }
+
+ debug_fleave();
+
+ return ret;
+}
+
+EXPORT_API
+int mm_sound_set_focus_watch_callback_for_session_monitor(int pid, mm_sound_focus_type_e focus_type, mm_sound_focus_changed_watch_cb callback, void *user_data, int *id)
+{
+ int ret = MM_ERROR_NONE;
+
+ debug_fenter();
+
+ RETURN_ERROR_IF_FOCUS_CB_THREAD(g_thread_self());
+
+ if (callback == NULL || id == NULL) {
+ debug_error("argument is not valid");
+ return MM_ERROR_INVALID_ARGUMENT;
+ }
+ ret = mm_sound_client_set_focus_watch_callback(pid, focus_type, true, true, callback, user_data, id);
+ if (ret) {
+ debug_error("Could not set focus watch callback, ret[0x%x]", ret);