Notification.Builder.SetFullScreenIntent(PendingIntent, Boolean) 方法

定义

指定要启动的意向,而不是将通知发布到状态栏。

[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

参数

intent
PendingIntent

要启动的挂起意向。

highPriority
Boolean

如果取消了其他通知,传递 true 也会导致发送此通知。

返回

属性

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

另请参阅