Udostępnij za pośrednictwem


Process.MyProcessName Method

Definition

Return the name of this process.

[Android.Runtime.Register("myProcessName", "()Ljava/lang/String;", "", ApiSince=33)]
public static string MyProcessName ();
[<Android.Runtime.Register("myProcessName", "()Ljava/lang/String;", "", ApiSince=33)>]
static member MyProcessName : unit -> string

Returns

Attributes

Remarks

Return the name of this process. By default, the process name is the same as the app's package name, but this can be changed using android:process.

Java documentation for android.os.Process.myProcessName().

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