語言

BatchUpdates.Builder.TransformChild(Int32, ITransformation) 方法

定義

新增一個轉換,將子視圖的值替換為螢幕中的欄位。

[Android.Runtime.Register("transformChild", "(ILandroid/service/autofill/Transformation;)Landroid/service/autofill/BatchUpdates$Builder;", "GetTransformChild_ILandroid_service_autofill_Transformation_Handler", ApiSince=28)]
public virtual Android.Service.Autofill.BatchUpdates.Builder? TransformChild(int id, Android.Service.Autofill.ITransformation transformation);
[<Android.Runtime.Register("transformChild", "(ILandroid/service/autofill/Transformation;)Landroid/service/autofill/BatchUpdates$Builder;", "GetTransformChild_ILandroid_service_autofill_Transformation_Handler", ApiSince=28)>]
abstract member TransformChild : int * Android.Service.Autofill.ITransformation -> Android.Service.Autofill.BatchUpdates.Builder
override this.TransformChild : int * Android.Service.Autofill.ITransformation -> Android.Service.Autofill.BatchUpdates.Builder

參數

id
Int32

查看兒童 ID 視圖。

transformation
ITransformation

這是由 Android 系統提供的實作。 這個值不可能為零值。

傳回

這個建築商。

屬性

備註

新增一個轉換,將子視圖的值替換為螢幕中的欄位。

當同一子視圖新增多個轉換時,會依加入順序套用。

注意:轉換是在更新套用到簡報範本之後才套用。

Android 參考資料。android.service.autofill.BatchUpdates.Builder.transformChild

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於