Lingua

Notification.Style.Build Method

Definition

Calls Notification.Builder.build() on the Builder this Style is attached to.

[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

Returns

The Android.App.Notification built by this API.

Attributes

Remarks

Calls Notification.Builder.build() on the Builder this Style is attached to. Note: Calling build() multiple times returns the same Notification instance, so reusing a builder to create multiple Notifications is discouraged.

Android reference for android.app.Notification.Style.build.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to