語言

Notification.IExtender.Extend(Notification+Builder) 方法

定義

將此擴展器套用到通知建構器上。

[Android.Runtime.Register("extend", "(Landroid/app/Notification$Builder;)Landroid/app/Notification$Builder;", "GetExtend_Landroid_app_Notification_Builder_Handler:Android.App.Notification/IExtenderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.App.Notification.Builder Extend(Android.App.Notification.Builder builder);
[<Android.Runtime.Register("extend", "(Landroid/app/Notification$Builder;)Landroid/app/Notification$Builder;", "GetExtend_Landroid_app_Notification_Builder_Handler:Android.App.Notification/IExtenderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Extend : Android.App.Notification.Builder -> Android.App.Notification.Builder

參數

builder
Notification.Builder

Notification.Builder:待修改的建築者。 這個值不可能為零值。

傳回

用於連鎖的建構物件。 這個值不可能為零值。

屬性

備註

將此擴展器套用到通知建構器上。

本頁內容與程式碼範例受內容授權條款所規範。 Java 和 OpenJDK 是 Oracle 和/或其關係企業的商標或注冊商標。

最後更新於 2026-08-03 UTC。

Android 參考資料。android.app.Notification.Extender.extend

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

適用於