PackageInstaller.PackageSourceDownloadedFile 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 comes from a file that was downloaded to the device by the user.

[Android.Runtime.Register("PACKAGE_SOURCE_DOWNLOADED_FILE", 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 PackageSourceDownloadedFile = 4;
[<Android.Runtime.Register("PACKAGE_SOURCE_DOWNLOADED_FILE", 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 PackageSourceDownloadedFile : Android.Content.PM.PackageSource

Field Value

Value = 4
Attributes

Remarks

Code indicating that the package being installed comes from a file that was downloaded to the device by the user. For use in place of #PACKAGE_SOURCE_LOCAL_FILE when the installer knows the package was downloaded.

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

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