Partager via


RecognitionService.MaxConcurrentSessionsCount Property

Definition

Returns the maximal number of recognition sessions ongoing at the same time.

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

Property Value

Attributes

Remarks

Returns the maximal number of recognition sessions ongoing at the same time.

The default value is 1, meaning concurrency should be enabled by overriding this method.

Java documentation for android.speech.RecognitionService.getMaxConcurrentSessionsCount().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to