SaveInfo.Builder.SetCustomDescription(CustomDescription) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定自訂描述,當使用者被要求儲存時,會在 UI 中顯示。
[Android.Runtime.Register("setCustomDescription", "(Landroid/service/autofill/CustomDescription;)Landroid/service/autofill/SaveInfo$Builder;", "", ApiSince=27)]
public Android.Service.Autofill.SaveInfo.Builder SetCustomDescription(Android.Service.Autofill.CustomDescription customDescription);
[<Android.Runtime.Register("setCustomDescription", "(Landroid/service/autofill/CustomDescription;)Landroid/service/autofill/SaveInfo$Builder;", "", ApiSince=27)>]
member this.SetCustomDescription : Android.Service.Autofill.CustomDescription -> Android.Service.Autofill.SaveInfo.Builder
參數
- customDescription
- CustomDescription
自訂描述。 這個值不可能為零值。
傳回
這個建築師。 這個值不可能為零值。
- 屬性
備註
設定自訂描述,當使用者被要求儲存時,會在 UI 中顯示。
通常用於服務需要顯示更多關於被保存物品的資訊,例如信用卡標誌、遮罩號碼和有效期限。
Android 參考資料。android.service.autofill.SaveInfo.Builder.setCustomDescription
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。