diff --git a/src/BootstrapBlazor/BootstrapBlazor.csproj b/src/BootstrapBlazor/BootstrapBlazor.csproj index 2df241862..5e73eb8d3 100644 --- a/src/BootstrapBlazor/BootstrapBlazor.csproj +++ b/src/BootstrapBlazor/BootstrapBlazor.csproj @@ -1,7 +1,7 @@ - 6.6.3 + 6.6.5 diff --git a/src/BootstrapBlazor/Components/Speech/RecognizerOption.cs b/src/BootstrapBlazor/Components/Speech/RecognizerOption.cs index 41e523d23..9a9b50618 100644 --- a/src/BootstrapBlazor/Components/Speech/RecognizerOption.cs +++ b/src/BootstrapBlazor/Components/Speech/RecognizerOption.cs @@ -17,7 +17,7 @@ public class RecognizerOption /// /// 获得/设置 回调方法 默认 null /// - public Func? Callback { get; set; } + public Func? Callback { get; set; } /// /// 获得/设置 识别语音文化 默认 zh-CN @@ -28,4 +28,9 @@ public class RecognizerOption /// 获得/设置 结果文化 默认 zh-CN /// public string TargetLanguage { get; set; } = "zh-CN"; + + /// + /// 获得/设置 自动识别时间 默认 5000 设置 0 时禁用需要手动关闭 + /// + public int AutoRecoginzerElapsedMilliseconds { get; set; } = 5000; }