/// <privilege>
/// http://tizen.org/privilege/recorder
/// </privilege>
- /// <precondition>
+ /// <pre>
/// The State must be Initialized or Ready.
- /// </precondition>
+ /// </pre>
public static string CurrentLanguage
{
get
/// <privilege>
/// http://tizen.org/privilege/recorder
/// </privilege>
- /// <precondition>
+ /// <pre>
/// The State must be Initialized or Ready.
- /// </precondition>
+ /// </pre>
public static State State
{
get
/// <privilege>
/// http://tizen.org/privilege/recorder
/// </privilege>
- /// <precondition>
+ /// <pre>
/// The State must be Ready.
- /// </precondition>
+ /// </pre>
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>
- /// <precondition>
+ /// <pre>
/// The State must be Ready.
- /// </precondition>
+ /// </pre>
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>
- /// <postcondition>
+ /// <post>
/// The State will be Initialized.
- /// </postcondition>
+ /// </post>
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>
- /// <precondition>
+ /// <pre>
/// The State should be Initialized
- /// </precondition>
- /// <postcondition>
+ /// </pre>
+ /// <post>
/// The State will be Ready
- /// </postcondition>
+ /// </post>
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>
- /// <precondition>
+ /// <pre>
/// The State should be Ready
- /// </precondition>
- /// <postcondition>
+ /// </pre>
+ /// <post>
/// The State should be Initialized
- /// </postcondition>
+ /// </post>
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>
- /// <precondition>
+ /// <pre>
/// The State should be Ready or Initialized
- /// </precondition>
+ /// </pre>
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>
- /// <precondition>
+ /// <pre>
/// The State should be Ready
- /// </precondition>
+ /// </pre>
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>
- /// <precondition>
+ /// <pre>
/// The State should be Ready
- /// </precondition>
+ /// </pre>
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>
- /// <precondition>
+ /// <pre>
/// The State should be Ready
- /// </precondition>
+ /// </pre>
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>
- /// <precondition>
+ /// <pre>
/// The State should be Ready
- /// </precondition>
+ /// </pre>
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>
- /// <precondition>
+ /// <pre>
/// The State should be Ready
- /// </precondition>
+ /// </pre>
public static RecognitionResult GetResult()
{
s_recognitionResult = null;
/// <summary>
/// Event to be invoked when the recognition is done.
/// </summary>
- /// <precondition>
+ /// <pre>
/// The State should be Initialized
- /// </precondition>
+ /// </pre>
public static event EventHandler<RecognitionResultEventArgs> RecognitionResult
{
add
/// <summary>
/// Event to be invoked when VoiceControl service state changes.
/// </summary>
- /// <precondition>
+ /// <pre>
/// The State should be Initialized
- /// </precondition>
+ /// </pre>
public static event EventHandler<ServiceStateChangedEventArgs> ServiceStateChanged
{
add
/// <summary>
/// Event to be invoked when VoiceControl client state changes.
/// </summary>
- /// <precondition>
+ /// <pre>
/// The State should be Initialized
- /// </precondition>
+ /// </pre>
public static event EventHandler<StateChangedEventArgs> StateChanged
{
add
/// <summary>
/// Event to be invoked when an error occurs.
/// </summary>
- /// <precondition>
+ /// <pre>
/// The State should be Initialized
- /// </precondition>
+ /// </pre>
public static event EventHandler<ErrorOccuredEventArgs> ErrorOccured
{
add
/// <summary>
/// Event to be invoked when default laungage change.
/// </summary>
- /// <precondition>
+ /// <pre>
/// The State should be Initialized
- /// </precondition>
+ /// </pre>
public static event EventHandler<CurrentLanguageChangedEventArgs> CurrentLanguageChanged
{
add