CustomDescription.Builder 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| CustomDescription.Builder(RemoteViews) |
預設建構函式。 |
| CustomDescription.Builder(IntPtr, JniHandleOwnership) |
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>
本頁部分內容為基於 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
- transfer
- JniHandleOwnership
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。