PackageInstaller.PackageSourceLocalFile 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 local file on the device.

[Android.Runtime.Register("PACKAGE_SOURCE_LOCAL_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 PackageSourceLocalFile = 3;
[<Android.Runtime.Register("PACKAGE_SOURCE_LOCAL_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 PackageSourceLocalFile : Android.Content.PM.PackageSource

Field Value

Value = 3
Attributes

Remarks

Code indicating that the package being installed comes from a local file on the device. A file manager that is facilitating the installation of an APK file would use this.

Java documentation for android.content.pm.PackageInstaller.PACKAGE_SOURCE_LOCAL_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