语言

RecognitionService.MaxConcurrentSessionsCount 属性

定义

返回同时持续的最大识别会话数。

public virtual int MaxConcurrentSessionsCount { [Android.Runtime.Register("getMaxConcurrentSessionsCount", "()I", "GetGetMaxConcurrentSessionsCountHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getMaxConcurrentSessionsCount", "()I", "GetGetMaxConcurrentSessionsCountHandler", ApiSince=34)>]
member this.MaxConcurrentSessionsCount : int

属性值

并发识别会话的最大数目。 默认值为 1。

特性

注解

返回同时持续的最大识别会话数。

默认值为 1,这意味着应通过重写此方法来启用并发。

Java文档android.speech.RecognitionService.getMaxConcurrentSessionsCount()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于