Dil

AppUsageDuration.PackageName Property

Definition

Returns the package name of the app.

public string PackageName { [Android.Runtime.Register("getPackageName", "()Ljava/lang/String;", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getPackageName", "()Ljava/lang/String;", "", ApiSince=37)>]
member this.PackageName : string

Property Value

the package name of the app

Attributes

Remarks

Returns the package name of the app.

Android reference for android.app.usage.AppUsageDuration.getPackageName.

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