Table of Contents

Class ServiceInfo

Namespace
Android.Content.Pm
Assembly
MASES.Netdroid.dll
public class ServiceInfo : ComponentInfo, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
ServiceInfo
Implements
Inherited Members
Extension Methods

Constructors

ServiceInfo()

public ServiceInfo()

ServiceInfo(ServiceInfo)

public ServiceInfo(ServiceInfo arg0)

Parameters

arg0 ServiceInfo

ServiceInfo

ServiceInfo(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 ServiceInfo(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

CREATOR

public static Parcelable.Creator CREATOR { get; set; }

Property Value

Parcelable.Creator

FLAG_ALLOW_SHARED_ISOLATED_PROCESS

public static int FLAG_ALLOW_SHARED_ISOLATED_PROCESS { get; set; }

Property Value

int

FLAG_EXTERNAL_SERVICE

public static int FLAG_EXTERNAL_SERVICE { get; set; }

Property Value

int

FLAG_ISOLATED_PROCESS

public static int FLAG_ISOLATED_PROCESS { get; set; }

Property Value

int

FLAG_SINGLE_USER

public static int FLAG_SINGLE_USER { get; set; }

Property Value

int

FLAG_STOP_WITH_TASK

public static int FLAG_STOP_WITH_TASK { get; set; }

Property Value

int

FLAG_USE_APP_ZYGOTE

public static int FLAG_USE_APP_ZYGOTE { get; set; }

Property Value

int

FOREGROUND_SERVICE_TYPE_CAMERA

public static int FOREGROUND_SERVICE_TYPE_CAMERA { get; set; }

Property Value

int

FOREGROUND_SERVICE_TYPE_CONNECTED_DEVICE

public static int FOREGROUND_SERVICE_TYPE_CONNECTED_DEVICE { get; set; }

Property Value

int

FOREGROUND_SERVICE_TYPE_DATA_SYNC

public static int FOREGROUND_SERVICE_TYPE_DATA_SYNC { get; set; }

Property Value

int

FOREGROUND_SERVICE_TYPE_HEALTH

public static int FOREGROUND_SERVICE_TYPE_HEALTH { get; set; }

Property Value

int

FOREGROUND_SERVICE_TYPE_LOCATION

public static int FOREGROUND_SERVICE_TYPE_LOCATION { get; set; }

Property Value

int

FOREGROUND_SERVICE_TYPE_MANIFEST

public static int FOREGROUND_SERVICE_TYPE_MANIFEST { get; set; }

Property Value

int

FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK

public static int FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK { get; set; }

Property Value

int

FOREGROUND_SERVICE_TYPE_MEDIA_PROCESSING

public static int FOREGROUND_SERVICE_TYPE_MEDIA_PROCESSING { get; set; }

Property Value

int

FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION

public static int FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION { get; set; }

Property Value

int

FOREGROUND_SERVICE_TYPE_MICROPHONE

public static int FOREGROUND_SERVICE_TYPE_MICROPHONE { get; set; }

Property Value

int

FOREGROUND_SERVICE_TYPE_NONE

[Obsolete("Deprecated in JVM")]
public static int FOREGROUND_SERVICE_TYPE_NONE { get; set; }

Property Value

int

FOREGROUND_SERVICE_TYPE_PHONE_CALL

public static int FOREGROUND_SERVICE_TYPE_PHONE_CALL { get; set; }

Property Value

int

FOREGROUND_SERVICE_TYPE_REMOTE_MESSAGING

public static int FOREGROUND_SERVICE_TYPE_REMOTE_MESSAGING { get; set; }

Property Value

int

FOREGROUND_SERVICE_TYPE_SHORT_SERVICE

public static int FOREGROUND_SERVICE_TYPE_SHORT_SERVICE { get; set; }

Property Value

int

FOREGROUND_SERVICE_TYPE_SPECIAL_USE

public static int FOREGROUND_SERVICE_TYPE_SPECIAL_USE { get; set; }

Property Value

int

FOREGROUND_SERVICE_TYPE_SYSTEM_EXEMPTED

public static int FOREGROUND_SERVICE_TYPE_SYSTEM_EXEMPTED { get; set; }

Property Value

int

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

flags

public int flags { get; set; }

Property Value

int

permission

public String permission { get; set; }

Property Value

String

Methods

CreatePoolableInstance()

HPA initializer for ServiceInfo()

public static ServiceInfo CreatePoolableInstance()

Returns

ServiceInfo

CreatePoolableInstance(ServiceInfo)

HPA initializer for ServiceInfo(Android.Content.Pm.ServiceInfo arg0)

public static ServiceInfo CreatePoolableInstance(ServiceInfo arg0)

Parameters

arg0 ServiceInfo

Returns

ServiceInfo

DescribeContents()

public int DescribeContents()

Returns

int

int

Dump(Printer, String)

public void Dump(Printer arg0, String arg1)

Parameters

arg0 Printer

Printer

arg1 String

String

GetForegroundServiceType()

public int GetForegroundServiceType()

Returns

int

int

Operators

implicit operator Parcelable(ServiceInfo)

Converter from ServiceInfo to Parcelable

public static implicit operator Parcelable(ServiceInfo t)

Parameters

t ServiceInfo

Returns

Parcelable