#include <mm_session.h>
#include <stdbool.h>
+/* This private definition is for marking that this process is using the stream info. created by sound-manager.
+ * It'll be maintained for backward compatibility regarding session feature that is deprecated since tizen 3.0. */
+#define MM_SESSION_TYPE_REPLACED_BY_STREAM 1111
+
typedef enum {
MM_SUBSESSION_TYPE_VOICE = 0,
MM_SUBSESSION_TYPE_RINGTONE,
* @return This function returns MM_ERROR_NONE on success, or negative value
* with error code.
* @remark This function is only for internal implementation do not use this at application
- * Session type is unique for each application.
- * if application want to change session type, Finish session first and Init again
+ * Session type is unique for each application.
+ * if application want to change session type, Finish session first and Init again
* @see _mm_session_util_delete_information _mm_session_util_read_type
* @since
*/
* @return This function returns MM_ERROR_NONE on success, or negative value
* with error code.
* @remark Session type is unique for each application.
- * if application want to change session type, Finish session first and Init again
+ * if application want to change session type, Finish session first and Init again
* @see _mm_session_util_write_type _mm_session_util_delete_information
* @since
*/
* @return This function returns MM_ERROR_NONE on success, or negative value
* with error code.
* @remark This function is only for internal implementation do not use this at application
- * Session type and Session option are unique for each application.
+ * Session type and Session option are unique for each application.
* @see _mm_session_util_delete_information _mm_session_util_read_information
* @since
*/
*/
int _mm_session_util_read_information(int app_pid, int *session_type, int *flags);
-
-/**
- * This function set sub-session type
- *
- * @param subsession [in] subsession type
- * @param option [in] option of subsession type
- *
- * @return This function returns MM_ERROR_NONE on success, or negative value
- * with error code.
- * @remark This function is only for internal implementation do not use this at application
- * Session type is unique for each application.
- * @see mm_session_get_subsession
- * @since
- */
-int mm_session_set_subsession (mm_subsession_t subsession, mm_subsession_option_t option);
-
-/**
- * This function get current sub-session type
- *
- * @param subsession [out] subsession type
- *
- * @return This function returns MM_ERROR_NONE on success, or negative value
- * with error code.
- * @remark This function is only for internal implementation do not use this at application
- * Session type is unique for each application.
- * @see mm_session_set_subsession
- * @since
- */
-int mm_session_get_subsession (mm_subsession_t *subsession);
-
-/**
- * This function set sub-event type
- *
- * @param subevent [in] subevent type
- *
- * @return This function returns MM_ERROR_NONE on success, or negative value
- * with error code.
- * @remark This function is only for internal implementation do not use this at application
- * Session type is unique for each application.
- * @see mm_session_get_subevent
- * @since
- */
-int mm_session_set_subevent (mm_session_sub_t subevent);
-
-/**
- * This function get current sub-event type
- *
- * @param subevent [out] subevent type
- *
- * @return This function returns MM_ERROR_NONE on success, or negative value
- * with error code.
- * @remark This function is only for internal implementation do not use this at application
- * Session type is unique for each application.
- * @see mm_session_set_subsevnt
- * @since
- */
-int mm_session_get_subevent (mm_session_sub_t *subevent);
-
#ifdef __cplusplus
}
#endif