|
@@ -45,7 +45,7 @@ class SpeechPlugin: MethodCallHandler {
|
|
|
if (call.method == "getPlatformVersion") {
|
|
if (call.method == "getPlatformVersion") {
|
|
|
result.success("Android ${android.os.Build.VERSION.RELEASE}")
|
|
result.success("Android ${android.os.Build.VERSION.RELEASE}")
|
|
|
} else if (call.method == "initSpeechSdk") {
|
|
} else if (call.method == "initSpeechSdk") {
|
|
|
- SpeechUtility.createUtility(context, SpeechConstant.APPID +"=589c15f3")
|
|
|
|
|
|
|
+ SpeechUtility.createUtility(context, SpeechConstant.APPID +"=5da1549c")
|
|
|
result.success(true)
|
|
result.success(true)
|
|
|
} else if (call.method == "evaluatorByAudio") {
|
|
} else if (call.method == "evaluatorByAudio") {
|
|
|
val pathEvaluatorDecode = call.argument<String>("pathEvaluatorDecode")!!
|
|
val pathEvaluatorDecode = call.argument<String>("pathEvaluatorDecode")!!
|