ViewTranslationResponse.Builder.SetValue 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
為所提供鍵值設定對應的 TranslationResponseValue。
[Android.Runtime.Register("setValue", "(Ljava/lang/String;Landroid/view/translation/TranslationResponseValue;)Landroid/view/translation/ViewTranslationResponse$Builder;", "", ApiSince=31)]
public Android.Views.Translation.ViewTranslationResponse.Builder? SetValue(string? key, Android.Views.Translation.TranslationResponseValue? value);
[<Android.Runtime.Register("setValue", "(Ljava/lang/String;Landroid/view/translation/TranslationResponseValue;)Landroid/view/translation/ViewTranslationResponse$Builder;", "", ApiSince=31)>]
member this.SetValue : string * Android.Views.Translation.TranslationResponseValue -> Android.Views.Translation.ViewTranslationResponse.Builder
參數
- key
- String
這個翻譯回應值的關鍵。
- value
- TranslationResponseValue
翻譯回應值則包含翻譯內容。
傳回
這個建築商。
- 屬性
備註
為所提供鍵值設定對應的 TranslationResponseValue。
Android 參考資料。android.view.translation.ViewTranslationResponse.Builder.setValue
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。