mmmw_plat/telephony_multimedia_service_api/inc/tmscall.h
branchRCL_3
changeset 18 2eb3b066cc7d
parent 0 71ca22bcf22a
equal deleted inserted replaced
17:3570217d8c21 18:2eb3b066cc7d
    90      *
    90      *
    91      * @param  ctxid
    91      * @param  ctxid
    92      *      Context ID.
    92      *      Context ID.
    93      *
    93      *
    94      * @return
    94      * @return
    95      *      TMS_RESULT_SUCCESS if the operation was successful.
    95      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
    96      *      system error.
    96      *      TMS_RESULT_FATAL_ERROR if an error occured.
    97      *      TMS_RESULT_FATAL_ERROR if an error occured.
    97      *
    98      *
    98      */
    99      */
    99     IMPORT_C gint GetCallContextId(guint& ctxid);
   100     IMPORT_C gint GetCallContextId(guint& ctxid);
   100 
   101 
   106      *
   107      *
   107      * @param  strm
   108      * @param  strm
   108      *      Created stream.
   109      *      Created stream.
   109      *
   110      *
   110      * @return
   111      * @return
   111      *      TMS_RESULT_SUCCESS if the operation was successful.
   112      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
   113      *      system error.
   112      *      TMS_RESULT_INSUFFICIENT_MEMORY if call creation failed due to
   114      *      TMS_RESULT_INSUFFICIENT_MEMORY if call creation failed due to
   113      *      insufficient memory.
   115      *      insufficient memory.
   114      *      TMS_RESULT_STREAM_TYPE_NOT_SUPPORTED if stream type is not
   116      *      TMS_RESULT_STREAM_TYPE_NOT_SUPPORTED if stream type is not
   115      *      supported.
   117      *      supported.
   116      *      TMS_RESULT_FATAL_ERROR if an error occured.
   118      *      TMS_RESULT_FATAL_ERROR if an error occured.
   117      *      TMS_REASON_EMERGENCY_CALL_ONGOING if emergency call is active.
   119      *      TMS_REASON_EMERGENCY_CALL_ONGOING if emergency call is active.
   118      *      TMS_REASON_PERMISSION_DENIED if permission is denied.
   120      *      TMS_REASON_PERMISSION_DENIED if permission is denied.
   119      *      TMS_RESULT_INVALID_ARGUMENT if strm is not set to NULL.
   121      *      TMS_RESULT_INVALID_ARGUMENT if strm is not set to NULL.
   120      *      TMS_RESULT_ALREADY_EXIST if the same streamtype is created 
   122      *      TMS_RESULT_ALREADY_EXIST if the same streamtype is created
   121      *      multiple times.
   123      *      multiple times.
   122      *
   124      *
   123      */
   125      */
   124     IMPORT_C gint CreateStream(const TMSStreamType type, TMSStream*& strm);
   126     IMPORT_C gint CreateStream(const TMSStreamType type, TMSStream*& strm);
   125 
   127 
   128      *
   130      *
   129      * @param  strm
   131      * @param  strm
   130      *      Stream to be deleted.
   132      *      Stream to be deleted.
   131      *
   133      *
   132      * @return
   134      * @return
   133      *      TMS_RESULT_SUCCESS if the operation was successful.
   135      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
   136      *      system error.
   134      *      TMS_RESULT_INVALID_ARGUMENT if the stream is not valid.
   137      *      TMS_RESULT_INVALID_ARGUMENT if the stream is not valid.
   135      */
   138      */
   136     IMPORT_C gint DeleteStream(TMSStream*& strm);
   139     IMPORT_C gint DeleteStream(TMSStream*& strm);
   137 
   140 
   138 protected:
   141 protected: