Table of Contents

Class JobService

Namespace
Android.App.Job
Assembly
MASES.Netdroid.dll
public class JobService : Service, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Context>
JobService
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Context>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Context>.IsAssignableFrom<T>()
JVMBridgeBase<Context>.Execute<T>(params T[])
JVMBridgeBase<Context>.DynBridgeClazz
JVMBridgeBase<Context>.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

JobService()

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

[Obsolete("JobService 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 JobService()

JobService(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("JobService 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 JobService(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

JOB_END_NOTIFICATION_POLICY_DETACH

public static int JOB_END_NOTIFICATION_POLICY_DETACH { get; }

Property Value

int

JOB_END_NOTIFICATION_POLICY_REMOVE

public static int JOB_END_NOTIFICATION_POLICY_REMOVE { get; }

Property Value

int

PERMISSION_BIND

public static String PERMISSION_BIND { get; }

Property Value

String

Methods

JobFinished(JobParameters, bool)

public void JobFinished(JobParameters arg0, bool arg1)

Parameters

arg0 JobParameters

JobParameters

arg1 bool

bool

OnNetworkChanged(JobParameters)

public void OnNetworkChanged(JobParameters arg0)

Parameters

arg0 JobParameters

JobParameters

OnStartJob(JobParameters)

public bool OnStartJob(JobParameters arg0)

Parameters

arg0 JobParameters

JobParameters

Returns

bool

bool

OnStopJob(JobParameters)

public bool OnStopJob(JobParameters arg0)

Parameters

arg0 JobParameters

JobParameters

Returns

bool

bool

SetNotification(JobParameters, int, Notification, int)

public void SetNotification(JobParameters arg0, int arg1, Notification arg2, int arg3)

Parameters

arg0 JobParameters

JobParameters

arg1 int

int

arg2 Notification

Notification

arg3 int

int

UpdateEstimatedNetworkBytes(JobParameters, JobWorkItem, long, long)

public void UpdateEstimatedNetworkBytes(JobParameters arg0, JobWorkItem arg1, long arg2, long arg3)

Parameters

arg0 JobParameters

JobParameters

arg1 JobWorkItem

JobWorkItem

arg2 long

long

arg3 long

long

UpdateEstimatedNetworkBytes(JobParameters, long, long)

public void UpdateEstimatedNetworkBytes(JobParameters arg0, long arg1, long arg2)

Parameters

arg0 JobParameters

JobParameters

arg1 long

long

arg2 long

long

UpdateTransferredNetworkBytes(JobParameters, JobWorkItem, long, long)

public void UpdateTransferredNetworkBytes(JobParameters arg0, JobWorkItem arg1, long arg2, long arg3)

Parameters

arg0 JobParameters

JobParameters

arg1 JobWorkItem

JobWorkItem

arg2 long

long

arg3 long

long

UpdateTransferredNetworkBytes(JobParameters, long, long)

public void UpdateTransferredNetworkBytes(JobParameters arg0, long arg1, long arg2)

Parameters

arg0 JobParameters

JobParameters

arg1 long

long

arg2 long

long