Change Exceptions and Properties and Add API level
[platform/core/csapi/uix-stt.git] / Tizen.Uix.Stt / Tizen.Uix.Stt / SupportedEngine.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 provideds the Information related to STT Engine.
22     /// </summary>
23     /// <since_tizen> 3 </since_tizen>
24     public class SupportedEngine
25     {
26         private string _engineId;
27         private string _engineName;
28
29         internal SupportedEngine(string id, string name)
30         {
31             this._engineId = id;
32             this._engineName = name;
33         }
34         /// <summary>
35         /// The Engine Id
36         /// </summary>
37         /// <since_tizen> 3 </since_tizen>
38         /// <returns>
39         /// The string Engine Id
40         /// </returns>
41         public string EngineId
42         {
43             get
44             {
45                 return _engineId;
46             }
47         }
48
49         /// <summary>
50         /// The Engine Name
51         /// </summary>
52         /// <since_tizen> 3 </since_tizen>
53         /// <returns>
54         /// The string Engine Name
55         /// </returns>
56         public string EngineName
57         {
58             get
59             {
60                 return _engineName;
61             }
62         }
63     }
64 }