Ejemplo n.º 1
0
 /**
  *  @brief The function starts voice recognition.
  *  @param[in] source				The audio source.
  *  @param[in] handler				The callback handler instance.
  *  @return PXCM_STATUS_NO_ERROR				Successful execution.
  */
 public pxcmStatus StartRec(PXCMAudioSource source, Handler handler)
 {
     if (handler == null)
     {
         return(pxcmStatus.PXCM_STATUS_HANDLE_INVALID);
     }
     return(StartRecINT(source != null ? source.instance : IntPtr.Zero, handler));
 }
Ejemplo n.º 2
0
 /** 
     @brief The function starts voice recognition.
     @param[in] source				The audio source.
     @param[in] handler				The callback handler instance.
     @return PXCM_STATUS_NO_ERROR				Successful execution.
 */
 public pxcmStatus StartRec(PXCMAudioSource source, Handler handler)
 {
     if (handler == null) return pxcmStatus.PXCM_STATUS_HANDLE_INVALID;
     return StartRecINT(source != null ? source.instance : IntPtr.Zero, handler);
 }