Table of Contents

Class JobService

Namespace
Android.App.Job
Assembly
MASES.Netdroid.dll
public class JobService : Service, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
JobService
Implements
Inherited Members
Extension Methods

Constructors

JobService()

public JobService()

JobService(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public JobService(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

JOB_END_NOTIFICATION_POLICY_DETACH

public static int JOB_END_NOTIFICATION_POLICY_DETACH { get; set; }

Property Value

int

JOB_END_NOTIFICATION_POLICY_REMOVE

public static int JOB_END_NOTIFICATION_POLICY_REMOVE { get; set; }

Property Value

int

PERMISSION_BIND

public static String PERMISSION_BIND { get; set; }

Property Value

String

Methods

CreatePoolableInstance()

HPA initializer for JobService()

public static JobService CreatePoolableInstance()

Returns

JobService

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