Share via


JobInfo.IsImportantWhileForeground Property

Definition

<strong>Note:</strong> Beginning with android.os.Build.VERSION_CODES#BAKLAVA, this flag will be ignored and no longer function effectively, regardless of the calling app's target SDK version.

public virtual bool IsImportantWhileForeground { [Android.Runtime.Register("isImportantWhileForeground", "()Z", "GetIsImportantWhileForegroundHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("isImportantWhileForeground", "()Z", "GetIsImportantWhileForegroundHandler", ApiSince=28)>]
member this.IsImportantWhileForeground : bool

Property Value

Attributes

Remarks

<strong>Note:</strong> Beginning with android.os.Build.VERSION_CODES#BAKLAVA, this flag will be ignored and no longer function effectively, regardless of the calling app's target SDK version. Calling this method will always return false.

This member is deprecated. Use #isExpedited() instead.

Java documentation for android.app.job.JobInfo.isImportantWhileForeground().

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