Change-Id: If8a3b41576bef5d0a1cf5d80720615c2d6640efe
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
/// <privilege>
/// http://tizen.org/privilege/recorder
/// </privilege>
/// <privilege>
/// http://tizen.org/privilege/recorder
/// </privilege>
/// The State must be Initialized or Ready.
/// The State must be Initialized or Ready.
public static string CurrentLanguage
{
get
public static string CurrentLanguage
{
get
/// <privilege>
/// http://tizen.org/privilege/recorder
/// </privilege>
/// <privilege>
/// http://tizen.org/privilege/recorder
/// </privilege>
/// The State must be Initialized or Ready.
/// The State must be Initialized or Ready.
public static State State
{
get
public static State State
{
get
/// <privilege>
/// http://tizen.org/privilege/recorder
/// </privilege>
/// <privilege>
/// http://tizen.org/privilege/recorder
/// </privilege>
/// The State must be Ready.
/// The State must be Ready.
public static ServiceState ServiceState
{
get
public static ServiceState ServiceState
{
get
/// <exception cref="ArgumentException"> This Exception can be due to Invalid Parameter. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// <exception cref="ArgumentException"> This Exception can be due to Invalid Parameter. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// The State must be Ready.
/// The State must be Ready.
public static void SetInvocationName(string name)
{
ErrorCode error = VcSetInvocationName(name);
public static void SetInvocationName(string name)
{
ErrorCode error = VcSetInvocationName(name);
/// <exception cref="OutOfMemoryException"> This Exception can be due to Out Of Memory. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// <exception cref="OutOfMemoryException"> This Exception can be due to Out Of Memory. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// The State will be Initialized.
/// The State will be Initialized.
public static void Initialize()
{
ErrorCode error = VcInitialize();
public static void Initialize()
{
ErrorCode error = VcInitialize();
/// <exception cref="InvalidOperationException"> This Exception can be due to Operation Failed. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// <exception cref="InvalidOperationException"> This Exception can be due to Operation Failed. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// The State should be Initialized
/// The State should be Initialized
- /// </precondition>
- /// <postcondition>
+ /// </pre>
+ /// <post>
/// The State will be Ready
/// The State will be Ready
public static void Prepare()
{
ErrorCode error = VcPrepare();
public static void Prepare()
{
ErrorCode error = VcPrepare();
/// <exception cref="InvalidOperationException"> This Exception can be due to Invalid State. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// <exception cref="InvalidOperationException"> This Exception can be due to Invalid State. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// The State should be Ready
/// The State should be Ready
- /// </precondition>
- /// <postcondition>
+ /// </pre>
+ /// <post>
/// The State should be Initialized
/// The State should be Initialized
public static void Unprepare()
{
ErrorCode error = VcUnprepare();
public static void Unprepare()
{
ErrorCode error = VcUnprepare();
/// <exception cref="InvalidOperationException"> This Exception can be due to Operation Failed. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// <exception cref="InvalidOperationException"> This Exception can be due to Operation Failed. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// The State should be Ready or Initialized
/// The State should be Ready or Initialized
public static IEnumerable<string> GetSupportedLanguages()
{
s_supportedLanguages = new List<string>();
public static IEnumerable<string> GetSupportedLanguages()
{
s_supportedLanguages = new List<string>();
/// <exception cref="InvalidOperationException"> This Exception can be due to Operation Failed. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// <exception cref="InvalidOperationException"> This Exception can be due to Operation Failed. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// The State should be Ready
/// The State should be Ready
public static VoiceCommandList GetSystemCommandList()
{
IntPtr handle = IntPtr.Zero;
public static VoiceCommandList GetSystemCommandList()
{
IntPtr handle = IntPtr.Zero;
/// <exception cref="ArgumentException"> This Exception can be due to Invalid Parameter. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// <exception cref="ArgumentException"> This Exception can be due to Invalid Parameter. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// The State should be Ready
/// The State should be Ready
public static void RequestDialog(string dispText, string uttText, bool autoStart)
{
ErrorCode error = VcRequestDialog(dispText, uttText, autoStart);
public static void RequestDialog(string dispText, string uttText, bool autoStart)
{
ErrorCode error = VcRequestDialog(dispText, uttText, autoStart);
/// <exception cref="ArgumentException"> This Exception can be due to Invalid Parameter. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// <exception cref="ArgumentException"> This Exception can be due to Invalid Parameter. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// The State should be Ready
/// The State should be Ready
public static void SetCommandList(VoiceCommandList list, CommandType type)
{
if ((type == CommandType.Foreground) || (type == CommandType.Background))
public static void SetCommandList(VoiceCommandList list, CommandType type)
{
if ((type == CommandType.Foreground) || (type == CommandType.Background))
/// <exception cref="ArgumentException"> This Exception can be due to Invalid Parameter. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// <exception cref="ArgumentException"> This Exception can be due to Invalid Parameter. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// The State should be Ready
/// The State should be Ready
public static void UnsetCommandList(CommandType type)
{
if ((type == CommandType.Foreground) || (type == CommandType.Background))
public static void UnsetCommandList(CommandType type)
{
if ((type == CommandType.Foreground) || (type == CommandType.Background))
/// <exception cref="ArgumentException"> This Exception can be due to Invalid Parameter. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <returns>The Recognition Result if possible else a null object</returns>
/// <exception cref="ArgumentException"> This Exception can be due to Invalid Parameter. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <returns>The Recognition Result if possible else a null object</returns>
/// The State should be Ready
/// The State should be Ready
public static RecognitionResult GetResult()
{
s_recognitionResult = null;
public static RecognitionResult GetResult()
{
s_recognitionResult = null;
/// <summary>
/// Event to be invoked when the recognition is done.
/// </summary>
/// <summary>
/// Event to be invoked when the recognition is done.
/// </summary>
/// The State should be Initialized
/// The State should be Initialized
public static event EventHandler<RecognitionResultEventArgs> RecognitionResult
{
add
public static event EventHandler<RecognitionResultEventArgs> RecognitionResult
{
add
/// <summary>
/// Event to be invoked when VoiceControl service state changes.
/// </summary>
/// <summary>
/// Event to be invoked when VoiceControl service state changes.
/// </summary>
/// The State should be Initialized
/// The State should be Initialized
public static event EventHandler<ServiceStateChangedEventArgs> ServiceStateChanged
{
add
public static event EventHandler<ServiceStateChangedEventArgs> ServiceStateChanged
{
add
/// <summary>
/// Event to be invoked when VoiceControl client state changes.
/// </summary>
/// <summary>
/// Event to be invoked when VoiceControl client state changes.
/// </summary>
/// The State should be Initialized
/// The State should be Initialized
public static event EventHandler<StateChangedEventArgs> StateChanged
{
add
public static event EventHandler<StateChangedEventArgs> StateChanged
{
add
/// <summary>
/// Event to be invoked when an error occurs.
/// </summary>
/// <summary>
/// Event to be invoked when an error occurs.
/// </summary>
/// The State should be Initialized
/// The State should be Initialized
public static event EventHandler<ErrorOccuredEventArgs> ErrorOccured
{
add
public static event EventHandler<ErrorOccuredEventArgs> ErrorOccured
{
add
/// <summary>
/// Event to be invoked when default laungage change.
/// </summary>
/// <summary>
/// Event to be invoked when default laungage change.
/// </summary>
/// The State should be Initialized
/// The State should be Initialized
public static event EventHandler<CurrentLanguageChangedEventArgs> CurrentLanguageChanged
{
add
public static event EventHandler<CurrentLanguageChangedEventArgs> CurrentLanguageChanged
{
add