Android.OS.Process Members

The members of Android.OS.Process are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
BluetoothGidint (2000). Documentation for this section has not yet been entered.
const
FirstApplicationUidint (10000). Defines the start of a range of UIDs (and GIDs), going from this number to Process.LastApplicationUid that are reserved for assigning to applications.
const
LastApplicationUidint (99999). Last of application-specific UIDs starting at Process.FirstApplicationUid.
const
PhoneUidint (1001). Defines the UID/GID under which the telephony code runs.
const
SystemUidint (1000). Defines the UID/GID under which system code runs.

Public Properties

[read-only]
static
ElapsedCpuTimelong. Returns elapsed milliseconds of the time this process has run.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
GetGidForName(string) : int
Returns the GID assigned to a particular user name, or -1 if there is none.
static
GetThreadPriority(int) : ThreadPriority
Return the current priority of a thread, based on Linux priorities.
static
GetUidForName(string) : int
Returns the UID assigned to a particular user name, or -1 if there is none.
static
KillProcess(int)
Kill the process with the given PID.
static
MyPid() : int
Returns the identifier of this process, which can be used with Process.KillProcess(int) and Process.SendSignal(int, Android.OS.Signal).
static
MyTid() : int
Returns the identifier of the calling thread, which be used with Process.SetThreadPriority(int, Android.OS.ThreadPriority).
static
MyUid() : int
Returns the identifier of this process's uid.
static
MyUserHandle() : UserHandle
Returns this process's user handle.
static
SendSignal(int, Signal)
Send a signal to the given process.
static
SetThreadPriority(ThreadPriority)
Set the priority of the calling thread, based on Linux priorities.
static
SetThreadPriority(int, ThreadPriority)
Set the priority of a thread, based on Linux priorities.
static
SupportsProcesses() : bool
Determine whether the current environment supports multiple processes.