语言

PackageInstaller.PackageSourceDownloadedFile 字段

定义

注意

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

指示要安装的包的代码来自用户下载到设备的文件。

[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

字段值

Value = 4
特性

注解

指示要安装的包的代码来自用户下载到设备的文件。 用于代替 #PACKAGE_SOURCE_LOCAL_FILE 安装程序知道包下载时间。

Java文档android.content.pm.PackageInstaller.PACKAGE_SOURCE_DOWNLOADED_FILE。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于