Sdílet prostřednictvím


Notification.Builder.SetFullScreenIntent(PendingIntent, Boolean) Method

Definition

Specifies an intent to launch instead of posting the notification to the status bar.

[Android.Runtime.Register("setFullScreenIntent", "(Landroid/app/PendingIntent;Z)Landroid/app/Notification$Builder;", "GetSetFullScreenIntent_Landroid_app_PendingIntent_ZHandler")]
public virtual Android.App.Notification.Builder SetFullScreenIntent (Android.App.PendingIntent? intent, bool highPriority);
[<Android.Runtime.Register("setFullScreenIntent", "(Landroid/app/PendingIntent;Z)Landroid/app/Notification$Builder;", "GetSetFullScreenIntent_Landroid_app_PendingIntent_ZHandler")>]
abstract member SetFullScreenIntent : Android.App.PendingIntent * bool -> Android.App.Notification.Builder
override this.SetFullScreenIntent : Android.App.PendingIntent * bool -> Android.App.Notification.Builder

Parameters

intent
PendingIntent

The pending intent to launch.

highPriority
Boolean

Passing true will cause this notification to be sent even if other notifications are suppressed.

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