语言

ActivityOptions.ModeBackgroundActivityStartDenied 字段

定义

注意

This constant will be removed in the future version. Use Android.App.BackgroundActivityStartMode enum directly instead of this field.

PendingIntent拒绝任何后台活动启动特权。

[Android.Runtime.Register("MODE_BACKGROUND_ACTIVITY_START_DENIED", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.BackgroundActivityStartMode enum directly instead of this field.", true)]
public const Android.App.BackgroundActivityStartMode ModeBackgroundActivityStartDenied = 2;
[<Android.Runtime.Register("MODE_BACKGROUND_ACTIVITY_START_DENIED", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.BackgroundActivityStartMode enum directly instead of this field.", true)>]
val mutable ModeBackgroundActivityStartDenied : Android.App.BackgroundActivityStartMode

字段值

Value = 2
特性

注解

拒绝 PendingIntent 任何后台活动启动特权。

Android 参考。android.app.ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_DENIED

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于