Compartir a través de


Application.ProcessName Property

Definition

Returns the name of the current process.

public static string? ProcessName { [Android.Runtime.Register("getProcessName", "()Ljava/lang/String;", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getProcessName", "()Ljava/lang/String;", "", ApiSince=28)>]
static member ProcessName : string

Property Value

Attributes

Remarks

Returns the name of the current process. A package's default process name is the same as its package name. Non-default processes will look like "$PACKAGE_NAME:$NAME", where $NAME corresponds to an android:process attribute within AndroidManifest.xml.

Java documentation for android.app.Application.getProcessName().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to