Partager via


Notification.Builder.SetPriority(Int32) Method

Definition

Set the priority of this notification.

[Android.Runtime.Register("setPriority", "(I)Landroid/app/Notification$Builder;", "GetSetPriority_IHandler")]
public virtual Android.App.Notification.Builder? SetPriority (int pri);
[<Android.Runtime.Register("setPriority", "(I)Landroid/app/Notification$Builder;", "GetSetPriority_IHandler")>]
abstract member SetPriority : int -> Android.App.Notification.Builder
override this.SetPriority : int -> Android.App.Notification.Builder

Parameters

pri
Int32

The priority value to use for this notification.

Returns

Attributes

Remarks

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

See also