TelemetryRecognizer 類別
- java.
lang. Object - com.
microsoft. bot. ai. luis. TelemetryRecognizer
- com.
實作
public abstract class TelemetryRecognizer
implements Recognizer
遙測辨識器可強制執行所記錄遙測的控件和屬性。 具有遙測支持的辨識器。
建構函式摘要
| 建構函式 | Description | |
|---|---|---|
| TelemetryRecognizer() | ||
方法摘要
| 修飾詞與類型 | 方法與描述 |
|---|---|
|
protected
Bot |
getTelemetryClient()
取得目前設定的 Bot 遙測用戶端,該用戶端會記錄 Luis |
| boolean |
isLogPersonalInformation()
指出是否應該以遙測的形式傳送個人資訊。 |
| protected void |
setLogPersonalInformation(boolean logPersonalInformation)
指出是否應該以遙測的形式傳送個人資訊。 |
| void |
setTelemetryClient(BotTelemetryClient telemetryClient)
設定目前設定的 Bot 遙測用戶端,以記錄 Luis |
方法繼承來源 java.lang.Object
建構函式詳細資料
TelemetryRecognizer
public TelemetryRecognizer()
方法詳細資料
getTelemetryClient
protected BotTelemetryClient getTelemetryClient()
取得目前設定的 Bot 遙測用戶端,該用戶端會記錄 LuisResult 事件。
傳回:
isLogPersonalInformation
public boolean isLogPersonalInformation()
指出是否應該以遙測的形式傳送個人資訊。
傳回:
setLogPersonalInformation
protected void setLogPersonalInformation(boolean logPersonalInformation)
指出是否應該以遙測的形式傳送個人資訊。
參數:
setTelemetryClient
public void setTelemetryClient(BotTelemetryClient telemetryClient)
設定目前設定的 Bot 遙測用戶端,以記錄 LuisResult 事件。
參數: