JobScheduler.CanRunUserInitiatedJobs Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.