语言

PackageInstaller.PackageSourceLocalFile 字段

定义

注意

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_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

字段值

Value = 3
特性

注解

指示要安装的包的代码来自设备上的本地文件。 有助于安装 APK 文件的文件管理器将使用此文件。

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

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

适用于