Share via


PackageInstaller.PackageSourceUnspecified Field

Definition

Caution

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

The installer did not call PackageInstaller.SessionParams#setPackageSource(int) to specify the package source.

[Android.Runtime.Register("PACKAGE_SOURCE_UNSPECIFIED", 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 PackageSourceUnspecified = 0;
[<Android.Runtime.Register("PACKAGE_SOURCE_UNSPECIFIED", 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 PackageSourceUnspecified : Android.Content.PM.PackageSource

Field Value

Value = 0
Attributes

Remarks

The installer did not call PackageInstaller.SessionParams#setPackageSource(int) to specify the package source.

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

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