Fix errata
[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     /// <since_tizen> 3 </since_tizen>
24     public class EngineChangedEventArgs
25     {
26         internal EngineChangedEventArgs(string engineId, string language, bool supportSilence, bool needCredential)
27         {
28             this.EngineId = engineId;
29             this.Language = language;
30             this.SupportSilence = supportSilence;
31             this.NeedCredential = needCredential;
32         }
33
34         /// <summary>
35         /// Engine Id
36         /// </summary>
37         /// <since_tizen> 3 </since_tizen>
38         public string EngineId
39         {
40             get;
41             internal set;
42         }
43
44         /// <summary>
45         /// Default Language
46         /// </summary>
47         /// <since_tizen> 3 </since_tizen>
48         public string Language
49         {
50             get;
51             internal set;
52         }
53
54         /// <summary>
55         /// The necessity of credential
56         /// </summary>
57         /// <since_tizen> 3 </since_tizen>
58         public bool NeedCredential
59         {
60             get;
61             internal set;
62         }
63
64         /// <summary>
65         /// Whether the silence detection is supported or not
66         /// </summary>
67         /// <since_tizen> 3 </since_tizen>
68         public bool SupportSilence
69         {
70             get;
71             internal set;
72         }
73     }
74 }