Table of Contents

Class JobScheduler

Namespace
Android.App.Job
Assembly
MASES.Netdroid.dll
public class JobScheduler : JVMBridgeBase<JobScheduler>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<JobScheduler>
JobScheduler
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<JobScheduler>.IsAssignableFrom(IJavaType)
JVMBridgeBase<JobScheduler>.IsAssignableFrom<T>()
JVMBridgeBase<JobScheduler>.Execute<T>(params T[])
JVMBridgeBase<JobScheduler>.DynBridgeClazz
JVMBridgeBase<JobScheduler>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

JobScheduler()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("JobScheduler class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public JobScheduler()

JobScheduler(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("JobScheduler class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public JobScheduler(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

PENDING_JOB_REASON_APP

public static int PENDING_JOB_REASON_APP { get; }

Property Value

int

PENDING_JOB_REASON_APP_STANDBY

public static int PENDING_JOB_REASON_APP_STANDBY { get; }

Property Value

int

PENDING_JOB_REASON_BACKGROUND_RESTRICTION

public static int PENDING_JOB_REASON_BACKGROUND_RESTRICTION { get; }

Property Value

int

PENDING_JOB_REASON_CONSTRAINT_BATTERY_NOT_LOW

public static int PENDING_JOB_REASON_CONSTRAINT_BATTERY_NOT_LOW { get; }

Property Value

int

PENDING_JOB_REASON_CONSTRAINT_CHARGING

public static int PENDING_JOB_REASON_CONSTRAINT_CHARGING { get; }

Property Value

int

PENDING_JOB_REASON_CONSTRAINT_CONNECTIVITY

public static int PENDING_JOB_REASON_CONSTRAINT_CONNECTIVITY { get; }

Property Value

int

PENDING_JOB_REASON_CONSTRAINT_CONTENT_TRIGGER

public static int PENDING_JOB_REASON_CONSTRAINT_CONTENT_TRIGGER { get; }

Property Value

int

PENDING_JOB_REASON_CONSTRAINT_DEVICE_IDLE

public static int PENDING_JOB_REASON_CONSTRAINT_DEVICE_IDLE { get; }

Property Value

int

PENDING_JOB_REASON_CONSTRAINT_MINIMUM_LATENCY

public static int PENDING_JOB_REASON_CONSTRAINT_MINIMUM_LATENCY { get; }

Property Value

int

PENDING_JOB_REASON_CONSTRAINT_PREFETCH

public static int PENDING_JOB_REASON_CONSTRAINT_PREFETCH { get; }

Property Value

int

PENDING_JOB_REASON_CONSTRAINT_STORAGE_NOT_LOW

public static int PENDING_JOB_REASON_CONSTRAINT_STORAGE_NOT_LOW { get; }

Property Value

int

PENDING_JOB_REASON_DEVICE_STATE

public static int PENDING_JOB_REASON_DEVICE_STATE { get; }

Property Value

int

PENDING_JOB_REASON_EXECUTING

public static int PENDING_JOB_REASON_EXECUTING { get; }

Property Value

int

PENDING_JOB_REASON_INVALID_JOB_ID

public static int PENDING_JOB_REASON_INVALID_JOB_ID { get; }

Property Value

int

PENDING_JOB_REASON_JOB_SCHEDULER_OPTIMIZATION

public static int PENDING_JOB_REASON_JOB_SCHEDULER_OPTIMIZATION { get; }

Property Value

int

PENDING_JOB_REASON_QUOTA

public static int PENDING_JOB_REASON_QUOTA { get; }

Property Value

int

PENDING_JOB_REASON_UNDEFINED

public static int PENDING_JOB_REASON_UNDEFINED { get; }

Property Value

int

PENDING_JOB_REASON_USER

public static int PENDING_JOB_REASON_USER { get; }

Property Value

int

RESULT_FAILURE

public static int RESULT_FAILURE { get; }

Property Value

int

RESULT_SUCCESS

public static int RESULT_SUCCESS { get; }

Property Value

int

Methods

CanRunUserInitiatedJobs()

public bool CanRunUserInitiatedJobs()

Returns

bool

bool

Cancel(int)

public void Cancel(int arg0)

Parameters

arg0 int

int

CancelAll()

public void CancelAll()

CancelInAllNamespaces()

public void CancelInAllNamespaces()

Enqueue(JobInfo, JobWorkItem)

public int Enqueue(JobInfo arg0, JobWorkItem arg1)

Parameters

arg0 JobInfo

JobInfo

arg1 JobWorkItem

JobWorkItem

Returns

int

int

ForNamespace(String)

public JobScheduler ForNamespace(String arg0)

Parameters

arg0 String

String

Returns

JobScheduler

JobScheduler

GetAllPendingJobs()

public List<JobInfo> GetAllPendingJobs()

Returns

List<JobInfo>

List

GetNamespace()

public String GetNamespace()

Returns

String

String

GetPendingJob(int)

public JobInfo GetPendingJob(int arg0)

Parameters

arg0 int

int

Returns

JobInfo

JobInfo

GetPendingJobReason(int)

public int GetPendingJobReason(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetPendingJobsInAllNamespaces()

public Map<String, List<JobInfo>> GetPendingJobsInAllNamespaces()

Returns

Map<String, List<JobInfo>>

Map

Schedule(JobInfo)

public int Schedule(JobInfo arg0)

Parameters

arg0 JobInfo

JobInfo

Returns

int

int