Correct a spelling mistake
[platform/core/csapi/uix-stt.git] / Tizen.Uix.Stt / Tizen.Uix.Stt / EngineChangedEventArgs.cs
1 /*
2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
3 *
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17
18 namespace Tizen.Uix.Stt
19 {
20     /// <summary>
21     /// This class holds information related to Engine Changed Event
22     /// </summary>
23     public class EngineChangedEventArgs
24     {
25         internal EngineChangedEventArgs(string engineId, string language, bool supportSilence, bool needCredential)
26         {
27             this.EngineId = engineId;
28             this.Language = language;
29             this.SupportSilence = supportSilence;
30             this.NeedCredential = needCredential;
31         }
32
33         /// <summary>
34         /// Engine Id
35         /// </summary>
36         public string EngineId
37         {
38             get;
39             internal set;
40         }
41
42         /// <summary>
43         /// Default Lanaguage
44         /// </summary>
45         public string Language
46         {
47             get;
48             internal set;
49         }
50
51         /// <summary>
52         /// The necessity of credential
53         /// </summary>
54         public bool NeedCredential
55         {
56             get;
57             internal set;
58         }
59
60         /// <summary>
61         /// Whether the silence detection is supported or not
62         /// </summary>
63         public bool SupportSilence
64         {
65             get;
66             internal set;
67         }
68     }
69 }