語言

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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於