AppBuiltIns.cs 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. /*
  2. * Copyright (c) Meta Platforms, Inc. and affiliates.
  3. * All rights reserved.
  4. *
  5. * Licensed under the Oculus SDK License Agreement (the "License");
  6. * you may not use the Oculus SDK except in compliance with the License,
  7. * which is provided at the time of installation or download, or which
  8. * otherwise accompanies this software in either electronic or hard copy form.
  9. *
  10. * You may obtain a copy of the License at
  11. *
  12. * https://developer.oculus.com/licenses/oculussdk/
  13. *
  14. * Unless required by applicable law or agreed to in writing, the Oculus SDK
  15. * distributed under the License is distributed on an "AS IS" BASIS,
  16. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17. * See the License for the specific language governing permissions and
  18. * limitations under the License.
  19. */
  20. using System.Collections.Generic;
  21. namespace Oculus.Voice
  22. {
  23. public static class AppBuiltIns
  24. {
  25. public static string builtInPrefix = "builtin:";
  26. private static string modelName = "Built-in Models";
  27. public static readonly Dictionary<string, Dictionary<string, string>>
  28. apps = new Dictionary<string, Dictionary<string, string>>
  29. {
  30. {
  31. "Chinese", new Dictionary<string, string>
  32. {
  33. {"id", "voiceSDK_zh"},
  34. {"name", modelName},
  35. {"lang", "zh"},
  36. {"clientToken", "3KQH33637TAT7WD4TG7T65SDRO73WZGY"},
  37. }
  38. },
  39. {
  40. "Dutch", new Dictionary<string, string>
  41. {
  42. {"id", "voiceSDK_nl"},
  43. {"name", modelName},
  44. {"lang", "nl"},
  45. {"clientToken", "ZCD6HCNCL6GTJKZ3QKWNKQVEDI4GUL7C"},
  46. }
  47. },
  48. {
  49. "English", new Dictionary<string, string>
  50. {
  51. {"id", "voiceSDK_en"},
  52. {"name", modelName},
  53. {"lang", "en"},
  54. {"clientToken", "HOKEABS7HPIQVSRSVWRPTTV75TQJ5QBP"},
  55. }
  56. },
  57. {
  58. "French", new Dictionary<string, string>
  59. {
  60. {"id", "voiceSDK_fr"},
  61. {"name", modelName},
  62. {"lang", "fr"},
  63. {"clientToken", "7PP7NK2QAH67MREGZV6SB6RIEWAYDNRY"},
  64. }
  65. },
  66. {
  67. "German", new Dictionary<string, string>
  68. {
  69. {"id", "voiceSDK_de"},
  70. {"name", modelName},
  71. {"lang", "de"},
  72. {"clientToken", "7LXOOB4JC7MXPUTTGQHDVQMHGEEJT6LE"},
  73. }
  74. },
  75. {
  76. "Italian", new Dictionary<string, string>
  77. {
  78. {"id", "voiceSDK_it"},
  79. {"name", modelName},
  80. {"lang", "it"},
  81. {"clientToken", "KELCNR4DCCPPOCF2RDFS4M6JOCWWIFII"},
  82. }
  83. },
  84. {
  85. "Japanese", new Dictionary<string, string>
  86. {
  87. {"id", "voiceSDK_ja"},
  88. {"name", modelName},
  89. {"lang", "ja"},
  90. {"clientToken", "TPJGLBBCHJ5F7BVVN5XLEGP6YDQRUE3P"},
  91. }
  92. },
  93. {
  94. "Korean", new Dictionary<string, string>
  95. {
  96. {"id", "voiceSDK_ko"},
  97. {"name", modelName},
  98. {"lang", "ko"},
  99. {"clientToken", "NT4WJLL7ACMFBXS4B7W5GRLTKDZQ36R4"},
  100. }
  101. },
  102. {
  103. "Polish", new Dictionary<string, string>
  104. {
  105. {"id", "voiceSDK_pl"},
  106. {"name", modelName},
  107. {"lang", "pl"},
  108. {"clientToken", "DMDRHGYDYN33D3IKCX5BG5R57EL2IIC4"},
  109. }
  110. },
  111. {
  112. "Portuguese", new Dictionary<string, string>
  113. {
  114. {"id", "voiceSDK_pt"},
  115. {"name", modelName},
  116. {"lang", "pt"},
  117. {"clientToken", "W4W3BSKL72HZC5MXLILONJUCG732SQQN"},
  118. }
  119. },
  120. {
  121. "Russian", new Dictionary<string, string>
  122. {
  123. {"id", "voiceSDK_ru"},
  124. {"name", modelName},
  125. {"lang", "ru"},
  126. {"clientToken", "W67HLUWA3MBYVEKRW3VVWUKSNZGAOFBI"},
  127. }
  128. },
  129. {
  130. "Spanish", new Dictionary<string, string>
  131. {
  132. {"id", "voiceSDK_es"},
  133. {"name", modelName},
  134. {"lang", "es"},
  135. {"clientToken", "YW7AM5OOVSW5XKGYKFE2S2HLC2WHC3UI"},
  136. }
  137. },
  138. {
  139. "Swedish", new Dictionary<string, string>
  140. {
  141. {"id", "voiceSDK_sv"},
  142. {"name", modelName},
  143. {"lang", "sv"},
  144. {"clientToken", "NPE3UJ7Y4NIVTUOZ7QPPAP3TY6FYPXJY"},
  145. }
  146. },
  147. {
  148. "Turkish", new Dictionary<string, string>
  149. {
  150. {"id", "voiceSDK_tr"},
  151. {"name", modelName},
  152. {"lang", "tr"},
  153. {"clientToken", "ZCISEDXESLYJOROLNOODCGGPZXHLUAEE"},
  154. }
  155. },
  156. };
  157. public static string[] appNames
  158. {
  159. get
  160. {
  161. string[] keys = new string[apps.Keys.Count];
  162. apps.Keys.CopyTo(keys, 0);
  163. return keys;
  164. }
  165. }
  166. }
  167. }