語言

CustomDescription.Builder 建構函式

定義

多載

CustomDescription.Builder(RemoteViews)

預設建構函式。

[Android.Runtime.Register(".ctor", "(Landroid/widget/RemoteViews;)V", "", ApiSince=27)]
public Builder(Android.Widget.RemoteViews parentPresentation);
[<Android.Runtime.Register(".ctor", "(Landroid/widget/RemoteViews;)V", "", ApiSince=27)>]
new Android.Service.Autofill.CustomDescription.Builder : Android.Widget.RemoteViews -> Android.Service.Autofill.CustomDescription.Builder

參數

parentPresentation
RemoteViews

範本呈現,並可選地顯示子節點。

屬性

備註

預設建構函式。

<b>注意:</b> 若任何子視圖觸發 a RemoteViews#setOnClickPendingIntent(int, android.app.PendingIntent) pending intent on click,必須PendingIntent遵守以下限制,否則可能無法觸發,或自動填充儲存介面在活動結束後未顯示:<ul<>li>無法用PendingIntent#FLAG_IMMUTABLE該標誌建立。 <li>必須是 PendingIntent for a Activity。 <李>:活動完成後必須呼喚 Activity#finish() 。 <李>:活動不應啟動其他活動。 </ul>

Java 文件 android.service.autofill.CustomDescription.Builder.CustomDescription$Builder(android.widget.RemoteViews)。

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

適用於

CustomDescription.Builder(IntPtr, JniHandleOwnership)

protected Builder(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Service.Autofill.CustomDescription.Builder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Service.Autofill.CustomDescription.Builder

參數

javaReference
IntPtr

nativeint

備註

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

適用於