Freigeben über


PackageInstaller.PackageSourceStore Field

Definition

Caution

This constant will be removed in the future version. Use Android.Content.PM.PackageSource enum directly instead of this field.

Code indicating that the package being installed is from a store.

[Android.Runtime.Register("PACKAGE_SOURCE_STORE", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.PackageSource enum directly instead of this field.", true)]
public const Android.Content.PM.PackageSource PackageSourceStore = 2;
[<Android.Runtime.Register("PACKAGE_SOURCE_STORE", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.PackageSource enum directly instead of this field.", true)>]
val mutable PackageSourceStore : Android.Content.PM.PackageSource

Field Value

Value = 2
Attributes

Remarks

Code indicating that the package being installed is from a store. An app store that installs an app for the user would use this.

Java documentation for android.content.pm.PackageInstaller.PACKAGE_SOURCE_STORE.

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