Aracılığıyla paylaş


PackageStats Constructors

Definition

Overloads

PackageStats(PackageStats)
PackageStats(Parcel)
PackageStats(String)
PackageStats(IntPtr, JniHandleOwnership)

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

PackageStats(PackageStats)

[Android.Runtime.Register(".ctor", "(Landroid/content/pm/PackageStats;)V", "")]
public PackageStats (Android.Content.PM.PackageStats? pStats);
[<Android.Runtime.Register(".ctor", "(Landroid/content/pm/PackageStats;)V", "")>]
new Android.Content.PM.PackageStats : Android.Content.PM.PackageStats -> Android.Content.PM.PackageStats

Parameters

pStats
PackageStats
Attributes

Remarks

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

PackageStats(Parcel)

[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public PackageStats (Android.OS.Parcel? source);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Content.PM.PackageStats : Android.OS.Parcel -> Android.Content.PM.PackageStats

Parameters

source
Parcel
Attributes

Remarks

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

PackageStats(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public PackageStats (string? pkgName);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Content.PM.PackageStats : string -> Android.Content.PM.PackageStats

Parameters

pkgName
String
Attributes

Remarks

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

PackageStats(IntPtr, JniHandleOwnership)

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

protected PackageStats (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.PM.PackageStats : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.PM.PackageStats

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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