RecognitionPart.Builder.SetConfidenceLevel(RecognitionConfidenceLevel) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果RecognizerIntent.EXTRA_REQUEST_WORD_CONFIDENCE要求,這部分的信心程度。
[Android.Runtime.Register("setConfidenceLevel", "(I)Landroid/speech/RecognitionPart$Builder;", "", ApiSince=34)]
public Android.Speech.RecognitionPart.Builder SetConfidenceLevel(Android.Speech.RecognitionConfidenceLevel value);
[<Android.Runtime.Register("setConfidenceLevel", "(I)Landroid/speech/RecognitionPart$Builder;", "", ApiSince=34)>]
member this.SetConfidenceLevel : Android.Speech.RecognitionConfidenceLevel -> Android.Speech.RecognitionPart.Builder
參數
價值屬於以下之一:RecognitionPart.CONFIDENCE_LEVEL_UNKNOWN;RecognitionPart.CONFIDENCE_LEVEL_LOW;RecognitionPart.CONFIDENCE_LEVEL_MEDIUM_LOW;RecognitionPart.CONFIDENCE_LEVEL_MEDIUM;RecognitionPart.CONFIDENCE_LEVEL_MEDIUM_HIGH;RecognitionPart.CONFIDENCE_LEVEL_HIGH
傳回
- 屬性
備註
如果RecognizerIntent.EXTRA_REQUEST_WORD_CONFIDENCE要求,這部分的信心程度。
否則,這應該等於RecognitionPart.CONFIDENCE_LEVEL_UNKNOWN。
Android 參考資料。android.speech.RecognitionPart.Builder.setConfidenceLevel
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。