Table of Contents

Class Service

Namespace
Android.App
Assembly
MASES.Netdroid.dll
public class Service : ContextWrapper, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Context>
Service
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
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

Service()

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

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

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

START_CONTINUATION_MASK

public static int START_CONTINUATION_MASK { get; }

Property Value

int

START_FLAG_REDELIVERY

public static int START_FLAG_REDELIVERY { get; }

Property Value

int

START_FLAG_RETRY

public static int START_FLAG_RETRY { get; }

Property Value

int

START_NOT_STICKY

public static int START_NOT_STICKY { get; }

Property Value

int

START_REDELIVER_INTENT

public static int START_REDELIVER_INTENT { get; }

Property Value

int

START_STICKY

public static int START_STICKY { get; }

Property Value

int

START_STICKY_COMPATIBILITY

public static int START_STICKY_COMPATIBILITY { get; }

Property Value

int

STOP_FOREGROUND_DETACH

public static int STOP_FOREGROUND_DETACH { get; }

Property Value

int

STOP_FOREGROUND_LEGACY

[Obsolete]
public static int STOP_FOREGROUND_LEGACY { get; }

Property Value

int

STOP_FOREGROUND_REMOVE

public static int STOP_FOREGROUND_REMOVE { get; }

Property Value

int

Methods

GetApplication()

public Application GetApplication()

Returns

Application

Application

GetForegroundServiceType()

public int GetForegroundServiceType()

Returns

int

int

OnBind(Intent)

public IBinder OnBind(Intent arg0)

Parameters

arg0 Intent

Intent

Returns

IBinder

IBinder

OnConfigurationChanged(Configuration)

public void OnConfigurationChanged(Configuration arg0)

Parameters

arg0 Configuration

Configuration

OnCreate()

public void OnCreate()

OnDestroy()

public void OnDestroy()

OnLowMemory()

public void OnLowMemory()

OnRebind(Intent)

public void OnRebind(Intent arg0)

Parameters

arg0 Intent

Intent

OnStart(Intent, int)

[Obsolete]
public void OnStart(Intent arg0, int arg1)

Parameters

arg0 Intent

Intent

arg1 int

int

OnStartCommand(Intent, int, int)

public int OnStartCommand(Intent arg0, int arg1, int arg2)

Parameters

arg0 Intent

Intent

arg1 int

int

arg2 int

int

Returns

int

int

OnTaskRemoved(Intent)

public void OnTaskRemoved(Intent arg0)

Parameters

arg0 Intent

Intent

OnTimeout(int)

public void OnTimeout(int arg0)

Parameters

arg0 int

int

OnTimeout(int, int)

public void OnTimeout(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

OnTrimMemory(int)

public void OnTrimMemory(int arg0)

Parameters

arg0 int

int

OnUnbind(Intent)

public bool OnUnbind(Intent arg0)

Parameters

arg0 Intent

Intent

Returns

bool

bool

StartForeground(int, Notification)

public void StartForeground(int arg0, Notification arg1)

Parameters

arg0 int

int

arg1 Notification

Notification

StartForeground(int, Notification, int)

public void StartForeground(int arg0, Notification arg1, int arg2)

Parameters

arg0 int

int

arg1 Notification

Notification

arg2 int

int

StopForeground(bool)

[Obsolete]
public void StopForeground(bool arg0)

Parameters

arg0 bool

bool

StopForeground(int)

public void StopForeground(int arg0)

Parameters

arg0 int

int

StopSelf()

public void StopSelf()

StopSelf(int)

public void StopSelf(int arg0)

Parameters

arg0 int

int

StopSelfResult(int)

public bool StopSelfResult(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

Operators

implicit operator ComponentCallbacks2(Service)

Converter from Service to ComponentCallbacks2

public static implicit operator ComponentCallbacks2(Service t)

Parameters

t Service

Returns

ComponentCallbacks2