Aracılığıyla paylaş


JobScheduler.CanRunUserInitiatedJobs Method

Definition

Returns true if the calling app currently holds the android.Manifest.permission#RUN_USER_INITIATED_JOBS permission, allowing it to run user-initiated jobs.

[Android.Runtime.Register("canRunUserInitiatedJobs", "()Z", "GetCanRunUserInitiatedJobsHandler", ApiSince=34)]
public virtual bool CanRunUserInitiatedJobs ();
[<Android.Runtime.Register("canRunUserInitiatedJobs", "()Z", "GetCanRunUserInitiatedJobsHandler", ApiSince=34)>]
abstract member CanRunUserInitiatedJobs : unit -> bool
override this.CanRunUserInitiatedJobs : unit -> bool

Returns

Attributes

Remarks

Returns true if the calling app currently holds the android.Manifest.permission#RUN_USER_INITIATED_JOBS permission, allowing it to run user-initiated jobs.

Java documentation for android.app.job.JobScheduler.canRunUserInitiatedJobs().

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