語言

Notification.Style.Build 方法

定義

呼叫此樣式所附的建構者上的 Notification.Builder.build() 。

[Android.Runtime.Register("build", "()Landroid/app/Notification;", "GetBuildHandler")]
public virtual Android.App.Notification? Build();
[<Android.Runtime.Register("build", "()Landroid/app/Notification;", "GetBuildHandler")>]
abstract member Build : unit -> Android.App.Notification
override this.Build : unit -> Android.App.Notification

傳回

由此 API 建構的 Android.App.Notification

屬性

備註

呼叫此樣式所附的建構者上的 Notification.Builder.build() 。 注意:多次呼叫 build() 會回傳同一個通知實例,因此不建議重複使用建構器來建立多個通知。

Android 參考資料。android.app.Notification.Style.build

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

適用於