Class JobService
public class JobService : Service, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Context>JobService
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Context>.IsAssignableFrom(IJavaType)JVMBridgeBase<Context>.IsAssignableFrom<T>()JVMBridgeBase<Context>.Execute<T>(params T[])JVMBridgeBase<Context>.DynBridgeClazzJVMBridgeBase<Context>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
JOB_END_NOTIFICATION_POLICY_DETACH
public static int JOB_END_NOTIFICATION_POLICY_DETACH { get; }
Property Value
JOB_END_NOTIFICATION_POLICY_REMOVE
public static int JOB_END_NOTIFICATION_POLICY_REMOVE { get; }
Property Value
PERMISSION_BIND
public static String PERMISSION_BIND { get; }
Property Value
Methods
JobFinished(JobParameters, bool)
public void JobFinished(JobParameters arg0, bool arg1)
Parameters
arg0
JobParametersarg1
bool
OnNetworkChanged(JobParameters)
public void OnNetworkChanged(JobParameters arg0)
Parameters
OnStartJob(JobParameters)
public bool OnStartJob(JobParameters arg0)
Parameters
Returns
OnStopJob(JobParameters)
public bool OnStopJob(JobParameters arg0)
Parameters
Returns
SetNotification(JobParameters, int, Notification, int)
public void SetNotification(JobParameters arg0, int arg1, Notification arg2, int arg3)
Parameters
arg0
JobParametersarg1
intarg2
Notificationarg3
int
UpdateEstimatedNetworkBytes(JobParameters, JobWorkItem, long, long)
public void UpdateEstimatedNetworkBytes(JobParameters arg0, JobWorkItem arg1, long arg2, long arg3)
Parameters
arg0
JobParametersarg1
JobWorkItemarg2
longarg3
long
UpdateEstimatedNetworkBytes(JobParameters, long, long)
public void UpdateEstimatedNetworkBytes(JobParameters arg0, long arg1, long arg2)
Parameters
arg0
JobParametersarg1
longarg2
long
UpdateTransferredNetworkBytes(JobParameters, JobWorkItem, long, long)
public void UpdateTransferredNetworkBytes(JobParameters arg0, JobWorkItem arg1, long arg2, long arg3)
Parameters
arg0
JobParametersarg1
JobWorkItemarg2
longarg3
long
UpdateTransferredNetworkBytes(JobParameters, long, long)
public void UpdateTransferredNetworkBytes(JobParameters arg0, long arg1, long arg2)
Parameters
arg0
JobParametersarg1
longarg2
long